Pretty obvious the plan wasn't for him to only pitch to one batter in the 5th. still makes it pretty dumb. if you want him to stay in the game then leave him in past that hitter, regardless of outcome. it shouldn't be "welp he gave up a home run, looks like he doesn't have it, better go to the pen."