Coming in late, as usual, being an intermittent fault it will be hard to find.
In a Marine environment, corrosion has to be a factor, so either this has produced a poor connection somewhere, or a wire has corroded so badly that it has failed, and occasionally fails to maintain contact.
Could it be something silly like corrosion between a fuse and its carrier, giving an intermittent contact?
If the cable is screened, has the screening braid corroded to produce the fault?
Vibration may have caused a wire to chafe through its insulation and then through the conductor, or to short.
Can you trace to see if the cable runs over any sharp edges? (Should be through a grommet really, but that could have worn and allowed the cable to short or wear through)
Is there any chance of a cable to some other apparatus inducing a fault current, no matter how small, in the wiring to the unit?
Hope that you find the fault and fix it.
Sometimes once the faulty cable has been located, it is easier to replace and reroute it than to try to route the new cable along the same path, (which may reproduce the same fault in the future.
Howard