at each halting checkpoint it snarled , spinning around several times as if both expecting and loathing the sharp electrical shock it would receive through its collar if it transgressed without cause .