My cat was sleeping in my lap.
The dog ran away, scared.
My dog woke to find the cat at my feet and jumped on me and got in attack mode.
my cat awoke to find the dog at my feet and jumped off of me and got in an attack mode.