just that happened to me, while cleaning the tank i pushed the hood in, and the light fell into the tank. at the time i had 2 large tinfoils and 2 bala sharks. i know the hood fell on one of the tin foils (or at least close to it)and all the other fish im pretty sure were on the other side. in the end, i lost 1 tinfoil and 1 bala shark. and im pretty sure they were electrocuted.
as for the tank being grounded, if it is not grounded, i would think the fish would be in danger. if it is grounded theres much less of a chance of shock.