to hold back or limit something
"The teacher had to restrain her excitement when the class won the competition."