> The rest of my advice assumes the CEO (your co-founder) has quite a bit of confidence in the CTO.
This is the case, it is in my interest however to remain in the company because my equity is vested, the sooner I leave the less I will get in return, apart from my time, and opportunity cost I invested all my personal wealth.