stir-crazy

Etymology
First attested around 1925, from prison slang.

Adjective

 * 1)  Of a prisoner, mentally unbalanced due to prolonged incarceration.
 * 2)  Restless, uncomfortable, or impatient due to inactivity or confinement.