That's good that you can fight for yourself!
The only job where I ever snapped and quit and walked out the door without any notice, was when I was working at the health food store. Originally, I worked at this tiny little store and it was great there; the staff were too few for there to be cliques, we all interacted with each other. But then they closed that little store and we could either lose our jobs or move to one of the bigger stores. I chose to do the latter, and that was a mistake.
At the small store, I was a cashier, but I regularly helped out other departments. So like, if I had no customers, I'd go straighten shelves and check expiration dates and things like that. At the new store, I would do that, and my fellow cashiers reported me to management for not being at my register. I was like ...we had no customers, and there were three of us, so I went to straighten shelves. Manager: but you need to stay at your register. Clean that when you have no customers. Me: I did clean that already. It doesn't take long. Manager: you can't leave your register. Me: so I'm just supposed to stand here and look pretty? Manager: yes.
I had never gotten in trouble for working too hard before. My guess is they didn't want to be expected to do the same instead of standing around chatting, so they reported me for leaving my register, even though I was close enough they could have just said "Hey" and I would have heard them. At least one of the workers in the other department who was happy I was helping him clean his shelves said he was sorry I had gotten in trouble for helping him, but it wasn't his fault.
That wasn't the incident that made me snap, but those cashiers and that manager definitely were. I had never walked out on a job before, and I actually felt so good after the initial upset wore off, that I was skipping and dancing on my way home, even though I had just made myself unemployed. It was a bad place.
I think you did the right thing there.
It's difficult to understand why people would have a negative stance on an employee being proactive and taking initiative, but I guess some people have an obsessive-compulsive need to have order in a certain way, whether it makes sense or not.
I knew a colleague who went to lunch and never returned to work, I think that's another level of bravery and risk-taking. She later got a job with a popular airline company, so I guess she was able to explain her past employment record convincingly😆