Depending on the lithium battery chemistry, the fumes from the fire alone would be quickly incapacitating and likely fatal.
Some research on lithium battery fire risks:
https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5577247/
The punchline to the above is that certain lithium battery chemistries burn to release hydroflouric acid (HF). That's some nasty stuff and quickly fatal if inhaled at concentrations that seem probable for a ship's [large] battery bank.
NOTE: All the above is speculation. I stayed at a Holiday Inn a long time ago. My heart goes out to the crew and passengers. RIP.