It was his duty to stand! You don't see enlisted  taking a knee during taps. 

He just took an act against his oath of office. 

https://www.municode.com/library/ak/fairbanks/codes/code_of_ordinances?nodeId=PTIHORUCH_ARTXIIIGEPR_S13.4OAOF