If we really looked we would probably find several connections that have corroded or worked loose one way or another. Many (or should I say most) of the electrical issues have to do with ground connections. Just hard to keep up with it all.
An anti corrosion compound helps to an extent, and any connection I make whether it be ground, battery, or AC connections gets a liberal coating. I tend to use no ox-ID, and have for years.
ABYC Certified Marine Electrician