Vic cop was 'perilously close' to death