Ayton looked doomed to the drop before Christmas, but their win at Cayton Reserves moved them within a point of third-from-bottom Falsgrave in the battle to stay in Division Two.
Striker Chris Milburn fired in a brace for the victors, while their other goals came from Paul Oldroyd, Adrian Kwiatkowski and Dan Bywater.
They were indebted to keeper Shaun Dolan, who was outstanding for Ayton, while Jake Adams also shone at centre-back.
Newlands Reserves are now firm favourites for the title after a 2-0 win against Falsgrave.
Sam Chambers opened the scoring as he stooped at the back post to help in Aidan Thomas' pinpoint cross, before Brad Rowley's second half effort from 25 yards wrapped up the win.
Centre-back Jordan Mintoft was their man of the match.
Snainton remain rooted to foot of the division after a 4-2 defeat at home to West Pier Reserves.
Rob Speight netted twice and goals from Marcin Pavlak and Chris Weetman were enough for the away side.
Filey Town Reserves romped to a 4-2 win at Scalby.
The away side effectively won the game in the opening 20 minutes as they charged into a 4-0 lead.
Despite a goal from George Wilson before half-time and a Mike Hartnett penalty after a hand-ball in the second half, the game was already done and dusted.
Scalby Reserves edged a 12-goal thriller at Sleights Reserves in Division Three.
The away side took the lead when John Bateman headed down for Daniel Gregory to make it 1-0.
Gregory's long-range effort made it 2-0, but Sleights hit back to make it 2-2 after a couple of lapses in the Otters' defence.
It was soon 3-2 to the away side though, Gregory curling a free-kick into the top corner to put Scalby back in front.
Sleights again hit back and levelled just before half-time at 3-3.
Lone striker Bateman latched onto a through-ball before calmly rounding the Sleights keeper to make it 4-3 after the break before Nick David's pen made it 5-3 to the away side.
Once again the hosts battled back valiantly and clawed their way back into the contest and made it 5-5, but a 20-yard effort from skipper Rich Brice and a Sam Swift goal after good work from Bateman wrapped up the points for Jeff Brader's side.
Sleights' goals came courtesy of Spencer Hewison, Jim Neil, Simon Taylor, Ryan Roe and sub Mike Butler.
Bateman was Scalby's man of the match up top.
Commercial claimed three points after a 2-1 win on the road at Fishburn Park Reserves.
Fishburn took the lead after 15 minutes but scores were level at the break thanks to Josh Dolan's strike.
Macauley Youngson, who had donned the gloves and played in goal in the first half, came outfield for the second 45 minutes and netted his side's winner on the hour mark after beating a couple of challenges and slotting in.
Boss Luke Jenkinson insisted his entire side deserved praise after a battling effort.
FC Rosette's home game against Westover Wasps Reserves was called off due to a waterlogged pitch.