coop up (someone or something)orcoop (someone or something) up
:to keep (a person or animal) inside a building or in a small space especially for a long period of time将(人或动物)禁锢在狭小空间— usually used as (be) cooped up通常用作(be) cooped up
The children were cranky after being cooped up in the house all day.被关在屋子里一整天后,孩子们变得暴躁不安。