Cal. Harb. & Nav. Code § 780
(b) The following prohibitions apply in no-discharge areas:
(2) A person shall not occupy or operate a vessel in which a marine sanitation device is installed unless the marine sanitation device is properly secured.
The first violation of this subdivision is an infraction punishable by a fine of up to five hundred dollars ($500). A second or subsequent violation of this subdivision by any one person is a misdemeanor.