only on metal hulled ships. with wooden hulled ships, they were TT, the anchor being the earth rod. when under sail, nelson had to do without his morning toast as the ship had no earth and health and safety wouldn't allow the electrics to be switched on. even an RCD would not have stopped him losing an arm and an eye, and finally getting shot.