The race team 's future was uncertain for several months . BMW sold the team back to Peter Sauber which allowed the team to race in entry . At the end of the 2009 season , however , BMW pulled out of Formula One and the team 's future remained uncertain for several months , until it was sold back to Peter Sauber and granted a 2010 entry .