Post Depo - weight

My second shot of the Depo is over and I’m not going on it again because of the side effects. One big one was the weight gain. I went from 115 to 127 in 6 months. I’m wondering if the weight is going to go away now that I’m off it?