Most techies don't want to move into management (myself included). Some can resist the push, while others are swept into it. I suggest that those who are truly technically excellent (beyond their peers, no matter how good those peers are) have a good argument to stay but must make the argument themselves. We need some pillars of technical capability. The rest are likely to become less interested/aware of newly evolving technology and eventually can be more capable as a manager using the experience learned. That's a natural transition, but can be jarring if done too soon or too fast.
Then there's the more common category, those whithout technical or leadership skills. Those folks often make the transition earlier because they're not motivated by quality or productivity. They languish in middle management.
So I suggest that you assess what career path best uses your skills and preferences (as you can see them now). Achieving that at your current employer may be difficult, but it's worth knowing if fighting to stay technical is really the right path for you.