tl;dr:The mistake was to be distant from the day-to-day work of his team. He became unfamiliar with his team's codebase and architecture. The learning is to spend some upfront time programming to know the codebase, and then take a step back to handle management.