Too much impatience
The class was going to end in five minutes.
The teacher was aware of the time but didn't care.
He decided to teach a new section of the material we're studying.
Several people decided to get up and walk out of class.
As much as I was annoyed, I tried to remain in class.