California Harbors and Navigation Code § 802
Text of § 802
On entering or leaving a port, harbor, or river, the master of a vessel, the navigation of which is not in charge of a pilot, licensed for that port, harbor, or river, shall take a pilot if one offers himself. While the pilot is on board the navigation of the vessel devolves on him.
Cite this section
Cal. Harb. & Nav. Code § 802
https://lawconsensus.com/codes/california/harbors-and-navigation-code/802/
LawCensus reproduces the text of the law for reference. It may not show the most recent changes. Check the official source before you rely on it: official text. This is general information, not legal advice.