I missed your other post, I'll hunt it down after this. I am thinking of you and praying for your calm and peace in the midst of whatever storm you're weathering.
Not all circumstances or seasons of our lives are conducive to weight loss. Sometimes it becomes (mentally or emotionally) too much to handle. Sometimes just treading water and maintaining is enough.
Do whatever you can, that is all you can ask of yourself. Cake isn't a moral judgment against you, just like a salad doesn't get you a gold star from the diet police. Just manage what you can, keep your goals in sight, and be gentle with yourself.
Off to go find out what is going on