When it was clear that something funny was going on I proposed we move my tech to a private company give the SH equity & get new management.
That's when I got cut out, my contract breached and I suspect they started dumping everything into D&O insurance.