detention

noun

The action of detaining someone or the state of being detained in official custody.