US Vice President JD Vance has left for the United States after his visit to Pakistan.