The 38-year-old bowed out after Spain’s Davis Cup loss to the Netherlands in Malaga.