The lions were bred 'in captivity'. [=while living in a zoo]
The prisoners were released from 'captivity'.
(..) Go back to your husband! Come. Drink. No one woman is worth all this fuss. Well, my lady, as terrible as this captivity is... at least we should be thankful... that so far our honor has been spared. Yes, Bridget. (..)1958 The Vikings