confinement

Definition

The state of being restricted in space or kept within limits, often referring to physical or legal restriction.

Example

"After the surgery, she was advised to rest in bed for a week of medical confinement."