snap to attention
idiomDefinition of snap to attention
: to move quickly to a position of standing silently with the body stiff and straight, the feet together, and both arms at the sides
The soldier snapped to attention.
—sometimes used figuratively The children snapped to attention and got quiet when the teacher clapped his hands.