“Don’t let the door hit you on the way out!”

This is an abrupt way to tell someone to leave. The sarcastic advice only applies if the person is leaving, so even if they wanted to stay, you are already speaking as if they are leaving. You can also say this if someone is already leaving, to show that you don’t care if they leave (for example, if they storm out in the middle of an argument).