> don't do it unless you're done with coding
Kind of, yes. I guess it depends on the workplace. Some companies still allow managers to code for a certain percentage of their time, while some don't.
But you're right - transitioning to management usually involves letting go of code.