Just quitting meds leaves your brain out of chemical balance. You'll always feel worse then when you first started taking meds. It can last up to months to fully recuperate, if at all. Some brains rely on the outside help that they just give up producing chemicals all together.
Best thing that you can do unless your gonna be stubborn about it and fight it is to slowly start retaking your meds and begin a new diet and exercise regimen to beat the weight gain.
Only you can do you. Good luck with that.