confinement

kənˈfʌɪnmənt

noun

the action of confining or state of being confined.

he was immediately released from his confinement

imprisonment,internment,incarceration,custody,captivity,detention,restraint,arrest,house arrest,thraldom,thrall,duress,durance,penning,caging,locking up,walling in/up,enclosure,encirclement,surrounding,encompassment,quarantine,corralling,immurement