Zinc anodes will not work in fresh water, and once exposed to FW they become dormant even when returning to SW. You can scrub them to remove the coating they develop in FW.
Or, you could use aluminum anodes, they work in fresh, salt and brackish water.
More on the subject here https://stevedmarineconsulting.com/galvanic-isolators-and-zinc-anode-selection/