The prisoner was confined to his cell for 23 hours a day.
He was confined to his room after the surgery.