I am not sure I see a lesson here except perhaps keep your gun loaded or at the very least keep a loaded magazine? Perhaps the lesson is to think outside the box or maybe not put yourself in the box in the first place.
Yes, you fight like you train but why in the world would I have an unloaded...