Hi and welcome to the forum! I am glad that I can help you.
You want to know whether urine can be released during an orgasm.
An orgasm is a peak of sexual excitement characterized by strong feelings of pleasure and by a series of involuntary contractions of the muscles of the genitals. In females those contractions can cause a release of mucous from the cervix, and release of vaginal fluid. The contractions may also cause a release of small amounts of urine, especially in cases when the urinary bladder is full of urine.
According to the data that you described, you are experiencing a feeling like the need to urinate during orgasm. Consult a gynecologist if the symptoms are frequent and uncomfortable.
Please keep in mind that I provide medical information only. I am not able to diagnose medical conditions online. Please contact your doctor for further advice and information about diagnosis of possible underlying condition.