The Villagers were trailing 24-0 with five minutes of their Premier Division clash to go when Giles struck the belligerent blow that enabled them to escape a nil return against the BARLA National Cup holders.
Queensbury were never in the hunt at Slaithwaite Saracens, falling to a hefty 32-4 defeat.
Coach Andy Senior had some measure of consolation following a brilliant display from 17-year-old full back Billy Naylor in a disappointing afternoon that saw a solitary touchdown from Lewis Symonds.
Birkenshaw lost 42-20 at Division One champions elect Moorends Thorne Marauders. Birky second-row pairing Craig Morley and Benoit Rogers both reached the whitewash, with Damian Smith and Matt Honeysett joining them.
Honyesett kicked two conversions, with the man of the match award going to prop forward Trevor West, who was a former winger at the start of his career with Wyke.
They went behind early to a converted try which stung them into action and quickly restored parity with a flowing move which saw full back Aidan Scully cross out wide.
He converted his own try to bring the scores level before scrum half Liam Jarvis made the chalk for another converted effort.
They continued the momentum with further touchdowns from leading try scorer Kaz Ahmed and a 60-yard interception try from winger Gavin Jarvis, which, together with another conversion from Scully, brought the half to a close at 22-6.
The second half degenerated into an arm wrestle as Sherburn saw their promotion chances slipping away which resulted in three home players and two from the visitors sent to the sin bin as tempers frayed.
In between the nonsense, hooker Isaac Brown scored two brilliant individual touchdowns.
On both occasions he ran from dummy half, evading desperate tacklers for 40 metres to plant the ball under the sticks.
Liam Jarvis added both the extras to start the Wildboars' celebrations which will be repeated further if they win their remaining game against Hanging Heaton to claim the title.