York slipped off the top of the National League table after a goalless draw against Aldershot.
The hosts, who saw Ollie Harfield carried off early on after suffering an injury, almost benefited from a defensive mix-up in the 21st minute but Josh Barrett hit the bar from long range.
Barrett was then played in by Theo Widdrington and rounded York keeper Rory Watson but could only hit his shot wide.
At the other end, two fine saves from Marcus Dewhurst kept out York, who now sit behind Forest Green on goal difference.