But that's not why you need an attorney right now. Even if you're never going to file suit, an attorney will help you navigate the waters and push for the best possible outcome in your situation. Maybe that's compensation for a clean exit, or simply putting an outright stop to the CTO's machinations. I don't know.
Yes, they cost money. But this is already a legal matter. It became one the moment the CTO started to try and squeeze the OP out. Spending the money on an attorney now is simply an attempt to avoid losing more money later on down the road.
Not talking to an attorney at this point is nothing short of willful ignorance. It won't stop the squeeze-out, nor will being able to say "I didn't bring in the lawyers!" somehow make things all better when you're out the door, up the creek, and without the stupid fucking paddle.