cupboard has definitions from the field of housing
1
[ noun ] (housing) a small room (or recess) or cabinet used for storage space

Synonyms

closet

Used in print

(Louis Zara, Dark Rider....)

In the kitchen Mama was wiping the cupboards .

(William Maxwell, The Chateau....)

In their search for what turned_out to be the right breakfast china but the wrong table silver , they opened every cupboard door in the kitchen and pantry .

*