I don't mind it as long it isn't me he's smacking upside the head with a rawhide bone around 3 AM and barking in such high pitches it could probably break glass in hopes I'll get up and play with him. xD
But when it's me he's barking at I sometimes get a little tense and snappy.
I don't yell or hit him (never would either, he's my little buddy c: ), just toss the toy/bone in the hall and tell him to go lay down.
...it never works though. x_x;