Confine (verb): To keep something or someone in a small space.
For example, when you put your toys in a box, you confine them to the box.