Pogačar managed to regain six seconds on Yates as a result of a time bonus for the stage win.
The Dutch sprint star came around Gaviria and Ackermann during the closing meters, in a chaotic battle to the line.
Yates took the stage by just over a minute ahead of Tadej Pogačar, and now leads Pogačar in the general classification.
Adam Yates is using the UAE Tour to prepare for his fifth run at the Tour de France overall.
The British rider is targeting a strong showing against a deep field, to put his 2020 campaign off to a good start.
Mitchelton-Scott enjoyed a banner season in 2019, with four stage wins in the Tour de France that sport directors admit will be hard to match.
Mitchelton-Scott sport director sees 2020 Tour providing fireworks throughout.
A showdown between Roglic and Bernal highlights what should be a thrilling finale to cycling's monument season
Australian journalist Rupert Guinness speaks with five international colleagues about the Tour thus far, the biggest stories in each journalist's home country, and how the race will play out in the final week.