You shouldn’t worry about the power going off whilst you’re on a cruise ship. In the unlikely event that this occurs, the emergency generators will kick in. In serious cases, the ship may be abandoned.