Bummer this happened.
I ride on the beach frequently too, but almost always at low tide so I've been lucky. If this were to happen to me I would remove the battery and the fuse, light rinse any accessible electrical connections that may have gotten wet with fresh water including the battery...