Interesting article on fire suppression for li-ion batteries
After initial knockdown, the remains of a burnt Tesla Model S received copious amounts of water for almost two hours. Note some of the more than 7,000 rechargeable battery cells on the street in the runoff from this fire.
"...
Copious amounts of water. Fire Protection ResearchFoundation burn tests revealed that battery reignitions are a real probability until the rechargeable cells are cooled sufficiently and the thermal runaway process is stopped. ...
...In one of the six full-scale li-ion battery test fires that the group carried out, researchers found that more than 2,600 gallons of water were required to extinguish the fire in an approximately 600-lb. li-ion battery..."

With the cargo ship, water supply won't be a problem, but getting it onto the burning batteries might be.