Many people have already made the bad guy out of the CTO. But in my point of view, he's not.
You do admit that your skill is not up to par yet, so in a sense, you are a dead weight to the company (though you are improving, but it's better if you can just hire another good dev)
Now I'm not saying that you should quit the company (hell, it's your company). Remain as a co-founder, or a member of the board of director, or become product owner, agile master whatever you name it, just not a dev. If you really mean it, you can take a pause in your product development, learn more first, then re-join the team, let the team asset your skills to see if you are up to par.
Take a deep breath, and think about the future of the company. Whatever products you are developing, would it sustain this harsh world with your skills? This is the whole point of your decision.
TL;DR: if you are bad, leave the dirty job to others.
You do admit that your skill is not up to par yet, so in a sense, you are a dead weight to the company (though you are improving, but it's better if you can just hire another good dev)
Now I'm not saying that you should quit the company (hell, it's your company). Remain as a co-founder, or a member of the board of director, or become product owner, agile master whatever you name it, just not a dev. If you really mean it, you can take a pause in your product development, learn more first, then re-join the team, let the team asset your skills to see if you are up to par.
Take a deep breath, and think about the future of the company. Whatever products you are developing, would it sustain this harsh world with your skills? This is the whole point of your decision.
TL;DR: if you are bad, leave the dirty job to others.