If you had ovarian cancer and it ruptured would that cause high WBC count in urine? Would that be very painful in the moment and then stop hurting?

Peritoneal spread. If ovarian cancer ruptures it would cause the tumor to spread inside the abdominal cavity which is a much more serious issue than the questions you are asking. If you have any doubt, please see your doctor for a consultation.