Been there, done that, burned the t-shirt.
This happened to me last spring. I gained back 8 or so pounds and was very
very pissed off at myself. It doesn't really help to stay upset about it, however... wallowing doesn't burn extra calories!!!
You have to take the bull by the horns and ask yourself whether momentary gratification is more important than your life and your health.
You also have to remember that the effects ARE reversible! You can lose those 10 pounds again!
It sounds like you've identified a couple of places that are problematic (food disasters and lack of exercise). Why not come up with a plan to combat these problems. Is there any other issue you can tackle easily? DO IT! Show yourself you're back in control.
So, this "kick-in-the-pants" entry ends with this: STOP feeling sorry for yourself and just DO IT!!
Hope that didn't hurt too much!!!