President Barack Obama returned a formal military salute with a one-handed coffee-cup salute Tuesday, only a few hours after he dispatched the nation’s military on their attack mission into northern Syria.

White House aides posted the sloppy salute video on Instagram. The commander in chief offered the coffee-cup salute when he disembarked from his U.S. Marine Corps helicopter in New York, as he made his way to the United Nations General Assembly.

“President Obama just landed in New York for #UNGA2014,” says the caption. The salute is “the most important of all military courtesies,” says a manual for Marine Corps officer candidates.

“In some situations, the salute is not appropriate,” says the manual. “In general, do not salute when… carrying articles with both hands or being otherwise so occupied as to make saluting impractical,” says the manual, titled “Customs and Courtesies.”

Some of the comments on the Instagram account were very critical of Obama’s unconventional salutation.

“Saluting with a coffeee cup on his hand what a disgrace… Sure doesnt know the shit u go through just to wear that uniform,” said “Forshoww85.”

“Put the damn coffee down and salute correctly,” said part of a message from “gatorman1361.”

Follow Neil on Twitter