To close something with a lot of force, making a loud noise.
It can make people think of anger, impatience, or a sudden action.
Examples:
She slammed the door when she left.
He slammed the book shut.
The wind slammed the window closed.
The bear slammed the picnic basket shut.
He slammed the phone down so hard it broke.
The angry man slammed the table and scared everyone.