(((bebop))) I gained SO much weight from being injured. (It didn't help that my lower jaw was off hinges for 3 years before they let me have surgery, and all I could eat/drink was liquid.)
I did lose all that weight. It did take another 2 years after surgery. Then the hurricane came and I gained from the stress, and the canned foods! But again I lost it.
I went through 2 years of meds trials,and each one caused weight gain, and didn't work for pain.

I lost it again.
I have lost the same 5 lbs 4 times in the last 5 weeks.

But that isn't stopping me. I keep gaining strength and wisdom against stress, and I am doing better. This time, I will keep it off. At least, right now, I am down that 5lbs and working on the next 5 lbs.
Hang in there! Don't get stressed about it, that will work against you. Just take it as something you do... eat healthy, try to not be stressed out.