A position of salute in the manual of arms in which the gun is held in both hands vertically in front of the body, with the muzzle upward and the trigger side forward.
take hat off to
How often have the words present arms and take hat off to occurred in a corpus of books? (source: Google Ngram Viewer )