According to the report, the vessel was transiting outbound [in the St. Mary's Entrance channel], the captain set the vessel’s autopilot to maintain the vessel’s heading out of the inlet. He answered a phone call and left the wheelhouse, but shortly after, the captain felt the vessel turn abruptly to port.
...
The investigation found that two days before the grounding, the captain was unable to disengage the autopilot and gain control of the helm as the vessel was proceeding into St. Augustine. The captain examined the autopilot system and found problems with the rudder angle indicator and rudder angle sensor at the rudder post and he took actions to correct the issues. That NTSB said that while the repairs worked initially, the vessel’s sharp turn to port indicated the system failed and the repairs were not effective.