Don't give up now whatever you do and don't let the exams the better of you especially as most of the knowledge is still fresh in your mind. I was in a similar position and thought about giving it up as I had got everything bar PoF (missed it by 1% a couple of times).
The good news is that you can wipe the slate clean and have a good go at them all again by attending ground school brush up courses. I resolved to get straight back to ground school (Bristol in my case) got 12 out of 14 in two months (75% in PoF this time -so no wasted effort there!) and then cleaned up the final two the following month. Within six months I had turned around a complete ground school disaster into a shiny new JAA CPL/IR.