Substitute Padraig Amond's last-minute strike gave Accrington all three points against Aldershot.
Stanley could have gone in front early on but Lee Molyneux's inswinging corner was cleared off the line.
The goal came when Amond poked home his fourth of the campaign after Shots goalkeeper Jamie Young failed to deal with a high ball.
The visitors misery was compounded in injury-time when Peter Vincenti was sent off for violent conduct.
VIEWS FROM THE DRESSING ROOM
Aldershot Town manager Dean Holdsworth told BBC Surrey:
"We worked extremely hard to get something and having looked at it (the goal) again it's a foul on Jamie Young, no attempt to play the bal. It's a cruel way to come all this way and work so hard.
"You want the referee to do his job properly and I think he got affected by the crowd a lot and their bench and I think that decision going against us is a poor decision.
"The fella has not played for the ball and has just run to obstruct Jamie Young and I don't know why he hasn't given it, but I'm disappointed to lose this game when we worked so hard.
"Well I saw it (sending off) and Peter can't react like that, he'll get punished and he can't allow the emotions to over boil and I'm disappointed as we'll lose him for three games."
Accrington Stanley 25 Dunbavin 02 Murphy 07 Lindfield 24 Molyneux 29 Atkinson 04 Joyce 10 Hatfield (Mingoia - 61' ) 26 Whichelow (Chippendale - 61' ) 28 Schofield 09 Sheppard (Amond - 71' ) 33 Boco Substitutes 22 Dawber 18 Eckersley 08 Barnett 11 Chippendale 15 Dixon 30 Mingoia 23 Amond Aldershot Town 21 Young 02 Herd 03 Tonkin 06 Lancashire 23 Bradley 05 Brown 07 Rodman (Morris - 68' ) 08 Payne 17 Mekki (Rankine - 46' ) 10 Hylton (Vincenti - 62' Dismissed ) 20 Reid Substitutes 29 Morris 04 Morris 11 Vincenti 24 Anderson 26 Donnelly 09 Rankine 25 Appiah