Etymology
Today it means: To suddenly give someone one's full attention. Full definition →
Ellipsis of snap to attention.
Etymology from Wiktionary, CC BY-SA 4.0.