I have to say -as a form of necessary balance to your post- fear is one of the only contraindications to water fasting.
It effects not only the thoughts, but of course every system/organ/cell in the body. . . And naturally, undertaking a wf in a state of reaction, will tend to colour the experience very much, that same hue of fear.
It is likely that you were already quite low in the way of nutritional reserves. Even if you were not, you believed yourself to be, it seems to me. Breaking the fast in a state of fear and anxiety over depleted mineral/nutritional reserves, not surprisingly led you to what amounts to as bingeing. This is a common reaction, again--the thought being to get as many nutrients as possible, and one might tend to gravitate to the same 'problem' foods that once provided a release from 'withdrawal' feelings; all part of the syndrome of being starved for nutrients, and not able to assimilate well. It is not really heavy-duty bingeing,
what you did, and this is not meant as judgment, but in coming off a Water Fast of more than a week-- it amounts to as such. Too many 'trigger' foods, most likely.
Better might be to do some juice feasting, introduce some
salad foods and such, some good, and soothing fats like avocado. And for the gut healing, a slippery elm gruel, would be very soothing, and restorative. It is also highly nutritious.
*Please -also- look into EFT, as a tool for peeling off layers of fear and other very real-seeming (though not insurmountable) obstacles to successful, enjoyable (relatively-speaking!) water-fasting.
It sounds as though you realize your errors, and will be able to learn from them. Better times, next time!