They should tow it out to shallow waters and scuttle it and that will put the fires out. Then they can refloat it later.
Saltwater would ruin everything electric on the ship. It would be a total loss.