During the Battle of Ramillies he was shot through the mouth and nearly killed by a French soldier who had returned to plunder the dead. However, Gardiner was spared after being mistaken for a French soldier.