Commanding Officer
The commanding officer is the senior officer in charge of a ship or unit. They are responsible for all operations and personnel. It is the highest authority aboard ship.
Source:
Royal Navy