Chairman Jason McGill and CEO Jackie McNamara both stood down earlier this week but the players reacted in the best possible way with a late win against Southport on Tuesday night.
The Minstermen are now unbeaten in seven at home and have a four-point cushion to eighth-placed Blyth Spartans.
With question marks over the club’s long-term future at boardroom level, Gray is eager to focus on what he and his players can control.
The boss told BBC Radio York: ”I want to stay on the football. I am here to be the manager of the football club. We talk enough about 'off-the-pitch'. It's about what we do ‘on-the-pitch’.
“I am delighted for the players. They have worked very, very hard preparing for the game and have got the result they deserved.
"We have had to stay focused and be professional. I have got to make sure the players prepare right, perform right, and that's what I am here to do.
“We have got to focus on this weekend's game. I think that's the most important thing. We are here and we have got to win games and we have got to be ready for the next game.”
For more news, reaction and action from across the National League, like us on Facebook and follow us on Twitter and Instagram.