A sea captain, also known as a skipper, is the leader on a ship. They are responsible for the safety of everyone on board. If the ship is in trouble, most captains will not leave unless everyone is safe.
Captain of the RMS Titanic, E J Smith