General:
* Confined: This implies being restricted to a specific area.
* Restricted: This is a more formal word for being limited in movement.
* Contained: Similar to "confined," but might also imply being held back from spreading.
* Imprisoned: This is a very strong word implying being locked up.
Specific to a situation:
* Quarantined: This refers to being isolated to prevent the spread of disease.
* Grounded: This is often used for children, meaning they cannot leave the house.
* Under house arrest: This is a legal term for being confined to one's home.
* Forbidden: This means something is not permitted.
More informal:
* Stuck: This implies being unable to leave, perhaps due to circumstances beyond one's control.
* Trapped: Similar to "stuck," but may imply a more serious situation.
The best word to use will depend on the specific situation and the tone you want to convey.