Cal. Harb. & Nav. Code § 808
The master of a vessel, who engages for a common profit on the cargo, shall not trade on his own account, and if he does, he shall account to his employer for all profits thus made by him.