The 20-time grand slam champion announced his decision just hours after a tough victory over Dominik Koepfer.