It wasn't entirely your fault, but you did dash out without looking, and did dash out whilst the lights were flashing orange.
Do you never take that crossing (or maybe even any crossing) ever again?
The majority of cave-diving accidents stem from ignorance or disregard of cave-diving safety protocols. In this article, the diver seems to be very knowledgeable and aware of the protocols, but there were a few that weren't followed.
The diver's had a very close call, and no doubt recognises some of the issues that caused the accident, and I'm sure is determined to never make those mistakes again.