On 16 October 2012, Ruiz again announced his retirement from international competition after a 3–1 loss to the United States at Livestrong Sporting Park, which eliminated Guatemala from 2014 World Cup qualification. However, he would return to play for Guatemala again and became the second Guatemalan player to appear in five World Cup qualification processes (Juan Manuel Funes being the first) when he started in the second round of the 2018 World Cup qualification in their opening match against Bermuda. On September 6, 2016, Ruiz scored 5 goals against Saint Vincent and the Grenadines in his final farewell match for Guatemala giving him a total of 39 goals in 47 qualifying games, which makes him the highest goalscorer of all-time in FIFA World Cup qualification history.