OP, “take what you like and leave the rest” about what I’ll say.
IMO, you are looking at this wrong-- wrong in a way that ignores your cat’s feelings as well as his attempt to gain power. That means you’re reactions to his behavior will be somewhere between inaccurate, ineffectual and frustrating for you and for him. You have made an a priori decision about what you want your response to your cat to be…. without even putting his moves into the equation!
In order to choose the right response to your cat’s “language”-- of spraying after begging in this case, you have to get inside his little kitty head and translate that behavior into a motivation that you can understand.
I read the spraying as your cat
- Attracting your attention
- Doing that because regular begging has failed to get him the food from you that he wanted.
- It’s an “upping the ante” move. IMO, cats know that spraying is about “hear me roar.”
You can think of that “upping the ante” move as a “Yo! You didn’t hear me!” or a “Hey, F U! Listen up!”
So your first obligation is to let CatHead know that you did, in fact, hear him.
After that, you get to tell him whether or not his “yelling at you via spraying” is something that will make you cave or make you mad. Will he gain what he wanted by spraying or will he lose?
Right here, you can CatMan are negotiating power. IMO, pet owners who think that’s an ugly way to see their animals-- as about sharing power-- are frustrating to their animals. Animals do want to control their world enough to be safe in it… and there’s nothing mean or anthropomorphic about that.
My personal view is that spraying is an act of terrorism, that a cat knows this, and that I will “pull over” from whatever conversation we were having and tell the cat that I don’t negotiate with terrorists. What that looks like is a quick and unmistakable NO in response to spraying. I am as aggressive as the cat requires. When I see him look surprised and scared, I quit; I have done enough to make my point. Usually, I’ll ignore him afterwards. This means “my meter goes back to zero.” I don’t hold a grudge, but I don’t turn around and comfort him after I scared him. Rather, I let him replay the tape of our interaction in his mind while he’s alone. If I’m lucky (and I did my job right), cat figures out that spraying was the magic move that earned my wrath.
The “time out” solution is great for calming an animal (or person, or union negotiator). It does give them time to reconsider just what happened. But does it teach the cat that spraying in particular was A Bad Thing? I don’t know. It depends how much your cat needs your company. If that’s something he values, being thrown in solitary is something he’d like to avoid. If he doesn’t care, you didn’t create a consequence that was negative enough for Kitty to want to avoid it again.
And if the cat is hungry, you are setting him up to fail. It’s a powerful drive and a cat will accept a lot of suffering in order to avoid hunger. If he has to “run the gauntlet” with you in order to get food, it will screw up your relationship with him. What I mean is that if he thinks he has to ask for food, spray, get yelled at, then get food, he’ll learn that you just drive a hard and crappy bargain. But he won’t decide that eating is something he’ll give up.