After the 2014 Olympics, Ahn coached short track for Russia, and continued skating. At the 2017 European Championships, Ahn won the bronze in 500 m and the silver in 500 m relay, and at the 2018 European Championships, he won the silver in the 500 m. Ahn had planned to retire after the 2018 Winter Olympics in Pyeongchang, but missed out on the Olympics for a second time, in the wake of the alleged sports doping in Russia. IOC did not disclose the specific reasons but mentioned "lingering suspicions" about doping use.