Yes, the ship was pushed into shallow waters to prevent sinking.
AIS was turned off, not that it would have made a big difference as the tanker could hardly maneuver on short notice.
Some warships also turn off the navigation lights, should be outlawed in piece time.