Andrey Rublev overcame a virus to capture his second Masters 1000 title at the Mutua Madrid Open, with a 4-6 7-5 7-5 comeback victory against Felix Auger-Aliassime.