detention: a state of being confined (usually for a short time)
confinement: the state of being confined
guinea pig: stout-bodied nearly tailless domesticated cavy; often kept as a pet and widely used in research