If I got that right, you have just described a "tech lead" role, and your experience is far more valuable than a standard developer role. You can find those roles at companies big and small, depending on your preference. They're easier to find through your network than through job postings. They carry a lot of responsibility, but they can also be highly rewarding.
You're the only one who can decide what you WANT to do with that experience though. Do you want to find another tech lead role? Update your resume to emphasize your leadership experience and technical background. Development role? Emphasize those aspects of your job and start grinding on leetcode. Manager role? Emphasize your leadership experience and how you helped grow the team. You're well positioned to move into any of these roles, depending on what you want from your next job.