Weight bounces around even on a good day, and right now you're having a really hard time, so go easy on yourself. I lost my mother and a much-loved pet while on Mounjaro, so I know the pain, and I got through it.
Life goes up and down, and every so often hormones beat the medicine. What's changed is that you now know why you're grabbing comfort food, so you can choose what to do. Maybe don't stock the things you grab? Or let yourself finish meals, as you're at least getting nutrition. A diet break after this long may even be good for your body, so relax.
I'm sorry you're having such a rough time, but you're strong and you'll come out the other side, and then you can refocus on your journey.