Soldier's hat gets shot off