Chesterfield lost 3-2 at Notts County in the play-off eliminator on Saturday.
The Spireites took the lead on 27 minutes when Danny Rowe blasted in a 30-yard free-kick, but the hosts equalised instantly through Kyle Wootton.
Liam Mandeville finished off a great counter just before half-time to put the Blues ahead at the break.
Blues goalkeeper James Montgomery played the last 30 minutes injured and Wootton grabbed his second before Ellis headed the winner to break Chesterfield hearts.
Sign up to our daily newsletter
The i newsletter cut through the noise
Made a save from Wootton in the first 30 seconds. Condeded three but two of those came after his injury when he could hardly walk. With no sub goalkeeper on the bench, he carried on playing through the pain barrier for the last half an hour which he deserves a lot of credit for. If he had been fully fit, you would have backed him to have claimed the cross which Ellis headed in from a couple of yards for the 90th minute winner. An extra mark for his courage.
Here are Liam Norcliffe’s player ratings…
In general play he was fine but he was beaten in the air by Ellis for the second and third goals.
His soft header back to Montgomery almost cost Chesterfield a goal in the first 30 seconds. Notts' first equaliser came when his clearance was charged down. Apart from that he had a good game and made numerous key headers and interceptions.
Didn't have his best game defensively but left everything out there. Made one great block to deny Wootton from close-range at 2-2 late on. Came very close to equalising deep into injury time.
He was given a tough afternoon by the speedy Miller who kept making runs in behind him.
Worked hard and battled well in midfield. He had one chance in the second-half which narrowly went wide.
He was having a decent game before he had to come off injured around the hour-mark. Things might have been different had he been able to continue. Made a great interception to deny Reeves in the first-half.
Had some difficult defensive moments and didn't have too much joy going forward. Replaced by Taylor with 13 minutes remaining.
He was very good. He pressed at the right times, he dribbled well, he was strong, kept possession and assisted Mandeville's goal. He has just been released by Aston Villa. There will be competition but hopefully Chesterfield can sign him.
Carried on where he left off against Halifax. Ran his socks off, pressed well and got himself another goal.
Scored a thunderous 30-yard free-kick to give Town the lead. Played a part in the second goal with some good hold-up play. Came off for Tyson with 25 to go.
Came on for Oyeleke for the last 30 minutes and did well. He made some driving runs forward and came close to scoring twice. Came under the spotlight after a challenge on Reeves in the box but it looked like he made a good tackle on first viewing.
Came on for Rowe with 25 to go and gave Town a different option with his pace in behind County's defensive line but he missed two great chances at 2-2 against his former club. He tried to round Slocombe for the first one but his touch was too heavy and then Slocombe saved his one-on-one attempt. Could be his last action in a Spireites shirt.