A stock way of implying an Abusive Parent is to have them lock their child in a closet as punishment. If not a closet then something similar like a cellar or attic also works. This trope is used by adults in general towards children, however it's most commonly done by parents.
Don't Make Me Take My Belt Off, Go to Your Room!, Time Out, and Dunce Cap are other childhood punishments. Compare Locked in a Room, where two or more characters are locked in a confined space and must spend the episode/chapter/etc. together, and Punishment Box, for when people (usually prisoners) are put in a small enclosure. See also Locked in a Freezer, Iron Maiden, and Ten Minutes in the Closet.
If you're thinking about that closet, see Get Back in the Closet.
- In a rare heroic example, one early episode of Sazae-san has the lead locking her son in a shed for several hours and outright forgetting he's there.
- In Blankets, after complaining about sharing a bed with his older brother, Phil gets locked in the "cubby hole", a small unlit room hidden in the playroom that is covered in dust and filled with pests.
- Batman: Stephanie Brown's abusive father would lock her in the closet when she was younger.
- In Seven Soldiers of Victory, Sally Sonic was shut away in a cupboard during her stay in the Orphanage of Fear.
Film— Live Action
- In A Tale of Two Sisters, the Evil Stepmother finds out that her pet bird has been killed. So she cruelly locks Su-yeon in the closet and refuses to free her until she apologises.
- In Annie, Daddy Warbucks claims that Miss Hannigan locks the orphans in the closet at her Orphanage of Fear.
- Carrie: Carrie's religious mother locks her in a closet and forces her to pray in it as punishment for starting her period (which she can't really control) and thus in her eyes sinning.
- Matilda takes this Up to Eleven with the "Chokey," a closet lined with spikes and shards of glass, thus like an Iron Maiden, in which there is just barely enough room to stand. Putting children in there for even the slightest misdemeanor is a favorite torture technique of the cruel headmistress of Matilda's school.
- Harry Potter and the Philosopher's Stone: For his first ten years living with his abhorrent relatives the Dursleys, Harry was forced to sleep in a cupboard under the stairs. Sometimes he was locked in there during the day too as punishment for accidental magic.
- In Goodnight, Mr. Tom, Will's mother strips him to his underwear and locks him in the cupboard under the stairs after finding out that his friend, Zach, is Jewish, saying he has "been poisoned by the Devil". Will protests that "Zach says Jesus was a Jew", but this only makes her angrier. Some time later, she throws her baby daughter, Trudy, in the cupboard as well; she then abandons both children to their fate. "Mr Tom" eventually comes to the rescue, but by then Trudy has died from starvation and Will is deeply traumatised.
- Amy Farrah Fowler from The Big Bang Theory apparently was punished by her mother this way on occasion.
- In the Law & Order: Special Victims Unit episode "Scavenger", serial killer Humphrey Becker's hatred of mothers stemmed from his own mother locking him in a closet for hours on end so that she could go to the movies, which caused him to develop claustrophobia. After learning about it, the detectives exploit this by locking him in a closet until he gives up the location of his latest victim.
- Star Trek: Deep Space Nine: Oe of the many things Garak's father did to him as a child. Garak developed a near crippling case of claustrophobia as a result. His father was Enabran Tain, head of the Obsidian Order.
- In the first season of Jessica Jones (2015), Kilgrave sends the children of a family whose house he is inhabiting into a closet not for having done anything wrong, but just because them being there annoys Kilgrave. This despite the fact that the girl remarks she has to use the bathroom. We don't hear of the poor children again.
- Modest Mussorgsky's fragmentary piano suite Memories of Childhood has a second movement (unfinished by the composer) titled "First punishment: Nanny locks me in a dark room."
- Get Fuzzy. When Bucky Katt has been particularly bad, Rob will order him to go to his closet and stay there for a while. He also sometimes locks him up in a pet cage, like the ones that are used to hold animals on airplane flights.
- A flashback in Harvest Moon 64 shows Karen's Alcoholic Parent Gotz locking her in the wine cellar as a child. The protagonist, visiting his grandfather one summer, helps her out.
- In Danganronpa Another Episode: Ultra Despair Girls, Touko explains that her parents used to lock her in a closet for several days straight as punishment. Because of this, she's very afraid of the dark.
- Ed, Edd n Eddy: In "Stop, Look, and Ed", Rolf is reluctant in joining the other kids in their rule breaking, fearing he might be "banished to the cupboard" if his chores aren't done on time.