The best advice I heard about the switch from regular engineer to mgmt role was this: A software engineer works to build harmonious productive stable software systems. An engineering manager works to build harmonious productive stable people systems. The product is different.
So many people who move into management don't make this mental shift and keep their hands on the steering wheel because that's how they got there in the first place. But if you don't let others drive, you won't be able to keep the car on the road for long. If you go into that role your job is to mostly get your hands off the nuts and bolts of the software system and create people systems of motivation, trust, and organization to get your team members working well on them instead.
I've never made the transition myself but have increasingly thought about it.