What is the meaning of the word "closet"?

Definitions:

  1. to confine to a small space, as for intensive work copy to clipboard verb
    • I closeted myself in the darkroom to process my photographs. copy to clipboard

Synonyms: