The trespasser escapes just in the nick of time