I wired a 3 wire cord of sufficient size to my panel's a/c input that I can plug into the inverter to energize all the outlets that would normally be live with shore power connected. Of course, I don't use it when I'm plugged into the dock!
This is dangerous, unsafe and against any and all standards shore based or marine based. Standards exist because humans forget..
Here's one from just a few days ago..
"I did burn up the first inverter after 55 weeks at anchor. I came into a dock and the first thing I did was plug in -- without unplugging the inverter. Smoke. Toasted that thing."
Human error is quite often what leads us to the reason we have safety standards.
What you've done is back feed your AC system negating any sort of proper source isolation or transfer switch. On land this is illegal. Line workers have died due to homeowners back-feeding generators in the exact manner you do with an inverter. It could also kill someone working on a dock pedestal when they assume the dock power is switched off. Out on the water you can
seemingly do what you wish but eventually you plug back in. No marine safety standard allows for what you've done because it creates a safety issue and can create dangerous situations even up to the point of potentially resulting in a death..
If you want to wire a non-marine stand alone inverter, that is not built to
marine UL458 standards (supplement SA), the best option is to wire it to its own dedicated outlets, clearly marked "INVERTER ONLY". While this means installing a few new outlets it is often far less expensive than a UL458 + Supplement SA marine inverter.
It is important to keep these outlets 100% isolated from the rest of the vessels AC systems. This is still not the best practice, to install a non-marine tested inverter, but it prevents back-feeding the system and neutral/Earth bonding issues.
The best option is to install a proper UL458 + Supplement SA inverter with its own transfer switch or a manual isolation/transfer switch.
A marine inverter installation should always be installed with its own internal transfer switch or an external transfer switch that ensures the vessels neutral/white and Earth/green are bonded on the vessel
only when the inverter is actually operational. Neutral/White and Earth/Green are then isolated, on-board the vessel, the split-second that transfer switch breaks. A proper installation also prevents two sources which can be dangerous and potentially lethal.
When buying an inverter it is important that it meets UL458 + Supplement SA - Marine Power Converters/Inverters.
Many inverters are sold that meet UL458 (this should be a bare minimum) but most have never been tested to the marine supplement/portion of UL458...
While one side is only 12V the other is 120V and can be DEADLY...
Please install inverters SAFELY!!!