In my view and experience, and IMHO, short of physical death while on Camino, the worst thing that can befall a pilgrim is a GI disease. You handled it fast and effectively, with humor and flexibility.
I always recommend that pilgrims include, basic OTC medication like Loperamide, 2 mg, to treat the traveler's stomach ailment. There are other, stronger medications to slow intestinal motility, but loperamide is the "go-to" over the counter first medication for diarrhea.
Incidentally, and apropos of nothing, I just found out what the opposite end of the contra-diarrhea spectrum is. My wife has been very ill since April 2023. But she is now improving a lot these past weeks. She had her ileostomy pouch removed in May, and her remaining intestines were reconnected. However, getting her GI system to play nice has been a journey in frustration.
Her gastroenterologist just prescribed a 10% tincture of opium to try to control intestinal motility. Yikes! Back in the day, this was commercially called Laudanum.
Most pharmacies around where we live, will not even fill such a prescription - so dangerous is this medication. Evidently, it is used mostly for folks on chemotherapy who have nasty side effects.
I am still waiting on one specialty pharmacy to get back to me on being able to obtain this medication. The doctor told me it is the equivalent of 'super glue' for her GI tract. He guarantees it will stop my wife's diarrhea.
Fingers crossed.
Tom