So the executive office was bleeding the company dry. You, as a middle manager, put in extra effort to save the company. As a result, you lost your middle manager job. You were replaced by three different people.
I left on my own mostly out of frustration. I was compensated for my work and I own a tiny percentage of equity in a company that is still around. I generally believe that if you are getting paid to do something, you should do it to the best of your ability even if it is not exactly fair. After all you can always leave and that is what I did.
Were you rewarded in any way for your efforts?