California Harbors and Navigation Code Section 860
CA Harb & Nav Code § 860 (2017)
The mate is the officer next in rank to the master, and in case of the master’s disability the mate becomes the master. By so doing he does not lose any of his rights as mate.