Pyledriver once again showed his liking for Ascot when defying an absence of almost a year to win the Hardwicke Stakes.