I feel that in this situation a nearby tug boat could have diverted the ship (by at least kept it from straying from the shipping channel during power failure).
When they reopen the port, it'll be interesting to see what early mitigations they put in place.