Sorry to hear about your problem.
Buy Nigel Calder's
Boatowners Manual for Mechanical and Electrical Systems.
Really, great writeup on electrical systems and marina wiring. You could also do a Google search on the issues: AC systems on boats and marina wiring.
Again, really, this is much too complicated an area to discuss here, they've written books about it, and too long to retype.
We don't know if you were plugged in or not. We have NO idea what condition your electrical system is in. We have no idea where you keep your boat or what condition the marina wiring is in. We don''t know if your AC and DC systems are grounded together. We don't know if you have a galvanic isolator or and isolation transformer.
These are things we need to know first.
All that information could help us to help you, but you might want to consider doing some homework and research first on this relatively complicated subject.
You could go here:
http://www.westmarine.com/WestAdvisor/West-Advisor-Articles
And scroll down to electrical and do some reading, includes good books, too. Charlie Wing's is a good one, too.
You did ask for a "place to start", right?