How to use "closing" in a sentence

Sentences

She left immediately, closing the door behind her.

She tried to relax by closing her eyes and envisioning a gentle night tide lapping at a silvery beach.

Then the earth starts closing in around him, and I wake up screaming, soaked with sweat

They turned out the lights and left the room, closing the door after them.

She tried closing her eyes.

There were signs of people in the next house on Sunday evening - a face at a window and moving lights, and later the closing of a door