Vinny Mukendi grabbed a close-range injury time equaliser to earn 10-man Macclesfield a point against promotion-chasing Accrington Stanley.
The Silkmen led on 22 minutes when Lewis Chalmers' long throw set up Hamza Bencherif to lift the ball home.
Stanley hit back through Andy Proctor's stunning 25-yard drive, followed by Terry Gornell's penalty after he had been fouled by Carl Tremarco.
Tremarco was then sent off for a second booking but Macc found an equaliser.
It came just when the home side looked destined for a fifth successive defeat, Mukendi maintaining his composure to hit his third goal of the season from six yards.
After striker Tyrone Barnett flicked on Chalmers' long throw for Bencherif to claim his 11th goal of the season, Stanley thought they had equalised before the break, only for Sean McConville's 10-yard volley to be ruled out for offside.
Stanley then went through the gears in the second half, skipper Proctor levelling on 73 minutes before top scorer Gornell appeared to keep their promotion challenge on course with his 13th strike of the campaign.
But Macc had the last word to move nine points clear of danger at the wrong end of League Two.
Macclesfield Town manager Gary Simpson told BBC Radio Manchester:"First half I thought we caused them problems and opened them up a few times.
"Everything that can go against us, goes against us for some reason, I don't know what we've done.
"We made a couple of substitutions, had a last rally and got the equaliser which was deserved a bit really."