Sorry to hear that.
While I wish you all the luck and joy in your future adventures, please bear in mind that TOC management do read this forum and there is a risk of attracting attention with real-time updates. Not to dissuade you from going on future trips nor any excuse to mistreat you, but you need to be aware of the heightened likelihood you may be recognised, in a good way or a bad way.
I am very impressed with your earlier decision to retreat in the face of poor treatment. IMO that is the clever thing to do and not allowing a silly argument to spoil the rest of your day.
In future trips, make sure you take plenty of fluids with you and at least some light snacks, just for unforeseen circumstances, eg. lounges running out of food, severe disruption, stranding, etc, and always have a back-up plan to get home.
Enjoy your travels.