This is not an absolute rule, but in general I see the path not being Y shaped but P shaped. Even if you stay technical you're going to end up managing something. Could be people, could be a process, could be creative, but your expertise is going to diverge away from writing code on a daily basis. I've been a consultant for about 12 years and even though I'm technical I still end up managing some stuff for clients.