Is the official recommendation that you continue to take it for the rest of your life? Or, is there a schedule to "wean" people off of it?
Most weight management programs recommend you wean off - and also recommend other drugs if needed (metformin) to for maintenance.
The method of these programs is to use the GLP-1 medications to allow you to change your habits significantly while also reducing your weight. The goal being, you keep the new habits and your reduced metabolic requirements which allows you to keep the lower weight.
Studies have show most people rapidly regain the weight once they stop taking GLP-1 drugs.
The dysfunctional biochemical processes that contributed to overeating are still present if you discontinue the drug. Your body has a natural set-point for the weight it wants to be at, and the hunger and food noise comes right back as your body tries to get you back to your old weight.
It's possible that after after a long enough time at a healthy weight your body's natural weight set-point will regulate itself back down. But this process take years.