If there is leakage from the shore power into the water near the boat, the outdrive is in the water so anything connected to the outdrive, an ungrounded gimbal housing, could have that voltage waiting for a path to ground.
You could receive a shock if you touch the gimbal housing (if unbonded...