Usually, a harbor pilot guides the vessel when entering and leaving the harbor.
The pilot is a former captain with a lot of local experience.
https://en.wikipedia.org/wiki/Maritime_pilot
[Edit: The association of Maryland Pilots even has the bridge on their homepage https://www.mdpilots.com/]
Did the pilot screw up? Was the pilot ignore? Did the captain take over? Was there a technical fault that disabled steering?
There could be a lot of possible reasons for this incident.