Dennis is in detention. This has literally never happened before, so he's not a hundred percent sure when detention is supposed to end, but he's pretty sure it was a while ago. Probably sometime after the teacher left and didn't return. That would make sense.
"So at what point do we accept that we've been abandoned?" he asks the room in general.