closet

nouns

a small room (or recess) or cabinet used for storage space
a toilet in Britain
a tall piece of furniture that provides storage space for clothes; has a door and rails or hooks for hanging clothes
a small private room for study or prayer
is a type of (narrower)
an area within a building enclosed by walls and floor and ceiling
"the rooms were very small but they had a nice view"

verbs

confine to a small space, as for intensive work
is a type of (narrower)
prevent from leaving or from being removed