Actually thank god it happened on the pedestal side...
That's why I prefer hard wiring the shot power cord on the boats side, you eliminate the risk of fire due to loose plugs. In most cases you can set up the cord in a storage locker, hard wire it
Inside with a breaker. After all this is how it is we up on larger boat with cable masters
That s how I set up the 30amp cord on th sailboat I built, it s just a 30 amp cord used mostly for battery chargers but the I cut the end of the cord and connects it directly to the
main breaker on the panel, which is just 12" from where th cord gets in the boat. Keep in mind that abyc standards mandat a breaker if the panel is 8' or more from where the shore power come in.
One last thing, I routinely check he shore power plugs and cord for heat, as oftn as daily, easy when getting on an off th boat,