Kind of a weird problem, but here goes.
I had a cat flap installed when I got my cat, as he's an outdoor cat, and it has a locking system where you can either lock it one way (so the cat can go out but not come in, and vice versa) or lock it completely. My cat really likes going out at night. He'll go out at about ten or so and pop back in now and then and come home in the wee hours of the morning. I don't mind letting him out if the weather is fine, but I do when it's raining. A lot of it is because I have a phobia of mice, and apparently when it rains, they're more likely to come out. When there's been one in the house, I've not been able to sleep, and the last time he brought one in I had the police called on me and a complaint made because I was screaming my head off and trying to kill the mouse by yeeting the bathroom scales at it. I was a nervous wreck for a few days after. It's that bad. I have a pest controller who I use from time to time as the building I live in is quite old and both I and the first floor flat tenants have had mice in the past, and he reckoned my cat was a deterrent and if I did have mice, it was because the cat had been bringing them in (and I know he has because he chased and played with one right in front of me, and I had to put the little bastard out of its misery. That was fun.) He put poison traps outside (don't worry, they're not harmful to cats, I did ask him) and sure enough, all the bait outside was gone.
Last night it rained and I locked the cat flap, so my cat could go out but not come in, and he came back at 2 - he was banging on the flap, so I had to let him in. I've been having trouble with insomnia recently so I was up then.
My question is this: if it's raining, should I keep my cat indoors?