quartermaster
During the piracy">Golden Age of Piracy this was the highest ranking pirate on a ship under the captain, usually elected by the crew. The quartermaster was the only officer on a ship who could veto a captain’s decision, but only when the ship was not engaged in battle or on a mission.
See also: Golden Age of Piracy