Surgery to remove the uterus and ovaries is known as hysterectomy and oophorectomy. A bilateral salping oophorectomy is a procedure that removes both the fallopian tubes and ovaries. In rare cases, a small piece of the ovary may accidentally be left behind. The remnant can grow and develop painful cysts. This condition is called ovarian remnant syndrome.