Glad the narrator lived, but the perspective is new to me. If the loop is flooded to that level, it is time to bailout.
If you haven't had the pleasure yet, I'll share the lesson for free - caustic cocktail does not tingle like a 9V battery because it is a chemical burn that burns hard AF. If you swallow even a small amount, you'll have a significant emotional event. I had got some on my lips and tongue and could not eat any hot or spicy food for about two weeks.
There are at least two scenarios that could have led to the problem.
The most likely scenario is not doing a proper negative test or a buddy bubble test or both. Negative failures mean water will come in. I am not sure about AP, but I've had scenarios where my unit passed positive but not negative due to a faulty DSV rebuild.
Another scenario is hoses coming loose during the dive. Example: you may pull on the loop too hard during the dive for whatever reason and loosen up a connection just enough to take the water in.