This doesn't seem factual, or at the very least, not that simple?
https://www.epicresearch.org/articles/two-years-after-stoppi...
There is evidence that is not the case though https://pmc.ncbi.nlm.nih.gov/articles/PMC8878541/
I think they were referring to rebound weight though, something else I'd heard about these drugs that also doesn't affect everyone. A scarier one was one person whose weight got too low so they stopped taking it, but for some reason had a lot of trouble gaining any weight and getting up to a healthy level.