If it doesn't, there's an operation, orchiopexy, that releases it into the scrotum.
From the well.blogs.nytimes.com
Surgical repair, known as orchiopexy, involves finding and securing the testicle into the scrotal sac.
From the dailyherald.com
Therefore, if the testicular artery is ligated, e.g., during a Fowler-Stevens orchiopexy for a high undescended testis, the testis will usually survive on these other blood supplies.