I had to transition to consulting which meant my productivity was now measured by billable hours and project deadlines vs "butt in chair". It took me over a year to find this type of job. Since then I moved into pre-sales which gives me even more flexibility.