I experienced a similar thing to Ellie with school, alongside a break-up and some family problems.
It feels overwhelming.
I failed a semester and I felt ashamed but I used the time out to calm down and recover.
It all worked in the end. I worked out (without worrying so much thanks to the encouragement of my tutours) and I got a First! Went on to do a Masters later and got a Distinction.
Lol mind you it's still not good enough as everyone wants me to learn how to drive but i'm happy and proud of my accomplishment's even if it took me a little longer to do it.