confine or an animal to
confine someone or an animal to something
to limit someone or an animal to a particular place; to imprison someone or an animal in a particular place. Would you please confine the dog to the basement? She confined herself to the small room for over a year because of her fear of crowds.