Nonsense.
What I mean is, the fact that you have muscle mass and stop lifting is not what's going to lead to "a quick onset of obesity." What leads to weight gain is still eating like you're lifting when you're not.
If you adjust your caloric intake to account for your new level of caloric expenditure, you will not gain weight, although you will likely see unfavorable body composition changes.