There were two pilots on board
One for the harbor, one for the Chesapeake Bay.
The ship’s captain still commands the ship, the pilots are in an advisory role. And they certainly aren’t responsible for the mechanical condition of the ship.