This made me smile and I have to ask, were you grumpy because it was a wasp? or because of the annoying time it was still up and invading your kitchen? or because you had to kill it in the end as it wouldn't see sense and exit as directed?
I have an irrational hate of wasps even though I've never been stung by one but I won't kill them and go out of my way to guide them out of the house if possible much to other peoples amusement. I feel guilty if I kill them on purpose
Grumpy mostly because of timing.
As it was dark outside, wasp is less likely to go from light to dark. Turning the kitchen lights off and standing outside with a torch had no effect. (Works OK for moths)
My partner is currently sleeping in the lounge, just the other side of the kitchen door, so cannot leave it in the house until morning.
Tried to coax it by gently easing it with the end of the fly swatter, but it was stubborn and happy on the light.
I don't like to kill them, they do a useful job eating other flitting things, and as they die they release pheromones that attract every other wasp around to come and help. Less likely at 10pm, so I got away with it.
I've always been wary of wasps as they are happy to sting at early provocation. They can often be kept away if outside for some time, with a saucer of jam at the other end of the garden.