When i have the feeling i am close to tilting or tilted i unregister all the games. It makes it easier if you start trying not to tilt from bad beats and stuff. If you always try to play your best game and you don't tilt from bad beats and stuff you will almost never tilt. If you keep getting bad beats all day long i understand everyone can feel a bit tilted. Then i just quit the session and call it a day.
This is a good video about bad beats and tilts:
That is kinda how i also starting thinking about bad beats.
But if you know what is causing the tilt(s) for you, you can try to avoid it.