coop up
To restrict someone or something to a particular, usually small, space for a length of time. A noun or pronoun can be used between "coop" and "up." Just let the dogs run in the yard—they've been cooped up all day. After that snowstorm cooped us up for days, we were thrilled to leave the house again.
coop someone or something up
to confine someone or something in a small place. Don't coop me up. I can't stand small places. We had to coop up the dogs for a while.