Emmerdale aired a special flashback episode on 22 October 2015 which revealed Ashley's whereabouts four weeks earlier. It was revealed he was at a doctor's appointment where he was told he is showing early signs of dementia. After the airing of the episode, it was announced Middleton had left his role after twenty years of playing Ashley. Middleton has reportedly chose to leave on "a high" after being handed the "best storyline of his career", comparing it to a footballer's career in the sense they leave after a good season. Middleton revealed that he had spoken with show boss, Kate Oates, earlier this year about his exit. He also mentioned that his contract does not end until the end of 2016, meaning his exit would air in early 2017. Speaking of his decision to leave, Middleton said it was and wasn't hard to leave the soap, "It's another roll of the dice. I'm very, very excited about that and I couldn't ask for a better storyline to leave the show on, I really couldn't." Middleton continued to mention how he has thought about leaving every year as well as recalling the meeting he had with Oates prior to choosing to leave: "She basically pitched the idea to me. She asked me, 'Are you happy to do this story? You probably want to think about it. I said immediately 'No I don't need time, I recognise this for what it is.'" Oates spoke of Middleton's exit, "I think this is going to be a really challenging story for us to tell. John and I have been talking about it for many, many months. We have heaped more agony on Ashley, but it's because John is an awesome actor and will do the storyline amazing justice." On 14 March 2017, it was confirmed that Middleton had recently filmed Ashley's departure scenes.