cage (someone or something) in
To trap or enclose one in a particular space or area. We're getting new floors put in downstairs, so we're all caged in upstairs right now. Be sure to close the gate and cage the dog in the back yard.
cage someone or something in
1. Lit. to enclose someone or something in a cage. We caged the monkey in, but it threw a fit. We are going to have to cage in the dogs.
2. Fig. to confine someone or something. Please don't cage me in this tiny room! The health authorities virtually caged in the quarantined population until they could all be tested.