When a person has changed sex or is in the process of changing, and then reverses to their original sex, this is called detransition. It is not limited to physical changes; it may include a person's social or legal identification.
Please suggest sites that are specifically about detransitioning.