He didn't know that panic was a survival trait, in extreme circumstances. When all else fails, and all rational means of finding a solution have been exhausted, panic takes over. And sometimes an irrational act becomes a solution the rational mind would never have thought of.