However, on stage 6 Chaves attacked 2 kilometers from the summit of the final climb to Sierra de Cazorla and held off Dan Martin ( ) and Dumoulin by five seconds for his second stage win and retake the race lead.