Harbors and Navigation Code § 1132
ARTICLE 7. Duties of Pilots
Every pilot in charge of a vessel arriving in Monterey Bay and the Bay of San Francisco, San Pablo, or Suisun, shall safely moor the vessel in place and position as directed by the master of the vessel, consistent with safe navigation and not contrary to law.