hold one's temper
Also, keep one's temper. Refrain from expressing violent anger, maintain composure or poise. For example, Billy has to learn to hold his temper when he's frustrated, or If the chairman can keep his temper, the matter will get settled. [c. 1700] For an antonym, see lose one's temper.