This happened to me 4 years ago right before vacation.
It was about a week before going and I started having really frequent urination, I would pee and pee and pee. I ended up going to a Urologist and as prescribed VesiCare for overactive bladder and I started it a day or 2 before I left for vacation. Well while on vacation I was fine, no problems. But when I got back it was frequent and urgent again. I can't remember what stopped it, I think I started taking Pumpkin Seed Oil from the herb shop and that is supposed to be good for the bladder. Then, it just stopped. I stopped the Pumpkin Seed Oil too and was fine.
I chalked it up to a bout of anxiety. Anxiety gets your nerves flaring up, which includes the nerves that tell you you have to pee