Raccoons are seriously nervy. EB White wrote a great piece on an encounter between his dachshund and a raccoon. Cracks me up that you were considering "rabies" as a possible explanation for its behavior!