Ovarian shutdown (which can be done with medicine or surgery to remove the ovaries) is sometimes used to treat hormone-receptor-positive breast cancer or to reduce risk for women at very high risk of breast cancer.
Medicines such as Zoladex (chemical name: goserelin) or Lupron (chemical name: leuprolide) are used to temporarily stop the ovaries from making estrogen. These medicines cause temporary infertility. Fertility returns after you stop taking the medicine.
If the ovaries are removed with surgery, infertility is permanent.