What is the meaning of the word "detention"?

Definitions:

  1. a punishment in which a student must stay at school after others have gone home copy to clipboard noun
    • the detention of tardy pupils copy to clipboard
  2. a state of being confined, usually for a short time copy to clipboard noun
    • Their detention was politically motivated. copy to clipboard

Synonyms: