That's awesome! Although what a complete ass of a teacher. If someone is feeling unwell, especially that kind of unwell, let them use the washroom!

Congratulations. How great does it feel to have overcome that situation? And you were totally fine afterwards. Proud of you!