CCTV captured the moment a man fought off several burglars who broke into his home while he was sleeping with his partner.