I am in the same position.. got recently promoted to manage a ~20 person team (analytics not programming). It sucks not being able to do actual analysis/project work anymore and the politics are infuriating.
That said, the experience is very valuable. I am planning to take off to start a company soon so managerial experience is definitely handy (not to mention the extra pay!)
My advice is to work on a technical side project to keep your soul from getting crushed (either at work or personal) and learn from the job till you figure out what you want to do next.