Fox or Cat, Who’s top dog?

In my garden it is the cat.  The fox avoids any confrontation with a swift swerve out of the way and leaves the garden quickly before the cat leaves in the other direction. There’s an escape route under the deck and into the next garden which the fox uses.