One thing I have seen some managers do at my company is use their coding skills to help streamline their work, i.e. create scripts to help pull data so they can create charts or query for data to form some analytics to help inform decision making on the right path forward.
I have also seen some still be able to get into the nitty gritty too to help solve problems that are critical & beyond their reports' abilities at the time and to ease the pressure.