Find a new role somewhere else that you like and accept it. Go back to your current team and inform them that you've enjoyed your time working with them, but you can't pass up the new opportunity.
The only problem I think you have here is that you haven't started interviewing yet. So, of course you feel aimless and uncertain about your next step.