I don't know anything about business or founding a startup: but as an engineer in one, if you have hired a CTO who is better at engineering than you (kudos!) and he/she has asked you to stop writing production code, you should listen. Coding "for old times sake" is pretty damaging when a team of actually trained engineers has just got your old broken code-base under control and instituted better engineering practices. This is part of the typical startup lifecycle: the code that got you here isn't going to get you to the next place, and it's your job to find, hire and enable better engineers to get you to the next level.
But if he actually is asking you to leave the company? He can fuck himself. But seriously, if it is clear that you are hurting more than helping by writing code, please stop. Keep learning, and ease into contributing again slowly.
But if he actually is asking you to leave the company? He can fuck himself. But seriously, if it is clear that you are hurting more than helping by writing code, please stop. Keep learning, and ease into contributing again slowly.