captivity

kapˈtɪvɪti

noun

the condition of being imprisoned or confined.

he was released after 865 days in captivity

imprisonment,confinement,internment,incarceration,custody,detention,restraint,constraint,committal,arrest,bondage,slavery,servitude,enslavement,subjugation,subjection,thraldom,thrall,duress,durance