You likely know what is best for you, but let me offer the counter argument. Your company's dev resources are growing. You are questioning yourself as a developer. You probably know more about your company's stack than anyone. You are CTO.
I don't know what you want for your future, but many of us have transitioned from dev roles to management. If you are going to be an engineer long-term, then stepping down from CTO may make sense. However, if in the next 5-10 years you want to become "management" then you are going to have to learn how to manage people. You are going to develop less. Your team should be better at developing than you are.
If you eventually want to manage, you will have to learn the skills. So why not focus on getting better at CTO now? You'll be 5-10 years ahead of where you'd otherwise be. CTO roles don't come around every day.
I don't know what you want for your future, but many of us have transitioned from dev roles to management. If you are going to be an engineer long-term, then stepping down from CTO may make sense. However, if in the next 5-10 years you want to become "management" then you are going to have to learn how to manage people. You are going to develop less. Your team should be better at developing than you are.
If you eventually want to manage, you will have to learn the skills. So why not focus on getting better at CTO now? You'll be 5-10 years ahead of where you'd otherwise be. CTO roles don't come around every day.
Just my two cents.