Rafael Nadal is on the brink of walking away from tennis forever.