The next two seasons would be a regression for both the team and Sanchez as they failed to reach the playoffs and he was eventually replaced towards the end of the 2012 season by Greg McElroy. Sanchez suffered a season-ending shoulder injury during the preseason in 2013; he was released after the season concluded and was subsequently signed by the Philadelphia Eagles. When Eagles starter Nick Foles went down with an injury, Sanchez started the second half of the season and set career highs in completion percentage and passer rating. Nevertheless, Sanchez was unable to restablish himself as a starter and spent one season each as backup for the Dallas Cowboys, Chicago Bears, and Washington Redskins before retiring after the 2018 season.