James Lawrence (October 1, 1781 – June 4, 1813) was an American naval officer. During the War of 1812, he commanded the USS Chesapeake in a single-ship action against HMS Shannon (commanded by Philip Broke). He is probably best known today for his dying command "Don't give up the ship!", which is still a popular naval battle cry.
Lawrence was born in Burlington, New Jersey but raised in Woodbury, New Jersey, the son of John and Martha (Tallman) Lawrence. His mother died when he was an infant and his Loyalist father fled to Canada during the American Revolution, leaving his half-sister to care for the infant. Though Lawrence studied law, he entered the United States Navy as a midshipman in 1798.
During the Quasi-War with France, he served on USS Ganges and the frigate USS Adams in the Caribbean. He was commissioned a lieutenant on April 6, 1802 and served aboard USS Enterprise in the Mediterranean, taking part in a successful attack on enemy craft on 2 June 1803.