Try this yourself. Any time the mind is agitated, just sit quietly, not moving at all. Let the mind be as agitated as it wants. If your body is still, very soon the mind will calm down all by itself.
Why? Because when there is no physical movement, the breath becomes slow; and the breath is the interconnection between mind and body. As the breath slows, the thought-making process slows down and the mind becomes calm.