Our new CEO and VC just decided to replace me, the CTO, with an outsider who is more accomplished and with more experience technically. He has open source projects that are prominent in the industry with 10k+ stars.Personally, I feel sad and betrayed but understand the reasoning why. They mention it's lower risk to bring the person on even though I'm doing a decent job at the moment. I have done nothing that would bring doubt to my skills besides not being experienced. My team mentioned it would affect their morale because they trust me and my leadership and mention that there could be a chance they leave because I won't be the CTO anymore.I tried to fight for my position but it was me still with the company or being fired.Personally, I am for staying even after the fact due to my want of success for the company and everybody.My question is, should I have fought for my position and continue the journey with me being CTO even with the risks? My gut says to fight for it, but I do see the reasons why not as well. My team trusts me and my leadership but the VC and CEO does not.