A criminologist will tell you that a burglar who enters a house knowing somebody is home is a psycho with motives other than burglary. Leaving thru the backdoor is one way to deal with it but I think I'd take my chances with a gun. If a dog were present the guy would not have entered the house.