detention

noun

1.
a state of being confined (usually for a short time)
Derived from:
detain
2.
a punishment in which a student must stay at school after others have gone home
Derived from:
detain