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 last words or "dying command" "Don't give up the ship!", which is still a popular naval battle cry, and which was invoked by Oliver Hazard Perry's personal battle flag, adopted to commemorate his dead friend.