Overall leader Enric Mas retained the red jersey.