Prior to removing the prostate, the surgeon may take out some lymph nodes from the pelvis or abdomen. A pathologist checks these at the time of the operation. If any cancer is found in the nodes, the prostatectomy may be cancelled, because it would mean the cancer has spread beyond the prostate.