When the VC soldier runs into the hollowed out tree, he checks the magazine in his AK-47, which was empty. He is pondering what he should do, when he fastens his bayonet on his rifle. His objective was likely to take out the Commanding Officer. But considering he had no ammo left, he ran the risk of dying trying to bayonet the Colonel or live and not complete his objective.