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.
Interesting. If we think of effectiveness as maintained weight loss and eventually no longer requiring the drug then the next few years and decades will be fascinating to see how effective they are long-term.