My wish is for your speedy and smooth recovery.
You have my empathy for the 'bumps in the road' both physical and mental. What has worked for me is to make a fresh start preceded by what I think of as a body/mind re-boot. I take one day to eat only fruits and vegetables with some whole grain like barley or brown rice. (DUKE UNIVERSITY DIET). It seems to reboot my attitude as well as my appetite and make it easier to stay in calorie range that is compatible with my activity/workouts.
Pamper yourself with rest and positive affirmations as you heal.