Leave Her, Johnny is a traditional sea shanty.
The "her" being left is not a woman, but the ship. This shanty was traditionally sung when the ship was at port after it had docked in the final spell at the pumps. Stan Hugill traces its origins to a shanty, Across the Rockies, which was sung on Western Ocean packets, possibly as early as the time of the Potato Famine.