In my submarine training, the sounding of the collision alarm was enough to get the ship sealed, whether we were on the surface or submerged. Saving the ship is much more important than saving a few in the leaking compartment(s). It's what you did, not what you thought about like in the movies.
I’d actually assumed what you stated, that in an emergency situation procedure and training kick in ... period. God bless and comfort the families for their sons’ sacrifices. And those in command.