I suspect this is key - it will, to some extent, depend on why you gained weight in the first place, which is just luck. (Well, it's probably genetics or something - but it's out of your control).
If you don't need many calories for your daily life (for whatever reason) and particularly if you also don't do much exercise, you can gain a lot of weight by very slightly over eating every day for 5-10 years and having a bit of a sluggish metabolism.
For people in that position, they probably have to eat a very low calorie diet to lose significant amounts of weight over a long period of time. (I can do 1000-1200 calories for about a month, then I give up because it's miserable and I'm starving constantly.) MJ helps to maintain that very low calorie intake for longer, and (possibly) helps with insulin resistance and may improve metabolism long-term. If you use the help from MJ to lose weight, reset portion sizes, get used to focusing on protein for feeling full /fuelling rather than carbs/sugar, and increase exercise (potentially improving your metabolism), then it is probably easier to eat at a maintenance level when you stop taking it.
If you have awful food noise, insulin resistance, cravings for 'unhealthy' food, no 'off switch' or feeling of fullness and if you've pretty much always been like that and have always been overweight, then MJ supports your weight loss by turning off the food noise, suppressing your appetite (either overall, or for unhealthy foods) and controlling insulin spikes. You can do everything right in terms of portions, macros, exercise, etc. but it's the MJ stopping the food noise, etc. so when you come off it that is all likely to come back and it will once again become very (perhaps overwhelmingly) difficult to fight your own appetite, food noise, cravings, etc.