Keep one`s cool

To stay or remain calm.

I tried to keep my cool during the argument with my neighbor.