I don't think you deserve the downvotes, it seemed like a genuine question.
Becoming CTO (or in general, moving into management) is not for everyone. That said, in practical terms it behooves the early/mid thirties developer to have some kind of plan to mitigate age discrimination. Consulting is a good half way point.