The 22-time Grand Slam champion's final act in the sport was a 6-4, 6-4 defeat at the hands of the Netherlands' Botic van de Zandschulp in the Davis Cup in Malaga.