slam

- Shut (a door, window, or lid) forcefully and loudly

... When his boss told him he was fired, Keith angrily slammed the door shut when he got home.