managers don’t lose expertise because their subordinates do more tactical work. A proper intellectual’s expertise expands to fill the resources he has agency over.
Your for loops and API lookups will be rusty. But you now can exercise higher level agency & skills.
This is true for any technology. Purchasing a tractor means you forget how to run a mule and plow. You do not lose the farming skills.