Your dog bit someone, or it bit you, but not on purpose. Tonight your beloved pet is at the animal shelter. He’s in a cage, and he’s upset. The animal control officer has told you that you will have to pay for boarding the dog in order to get him back. This imprisonment is going to last 10 days and cost you money.
You are angry! At yourself, for not preventing the incident, and at the “system” that has locked him up. What gives them the right to do that?
It’s for your protection. It’s about rabies. Whoever was bitten can die from rabies, and it’s a painful death. Now, the authorities could force the victim to get rabies shots, but those shots are painful and cost a lot. Rather than do that, the procedure is to hold the dog for 10 days to see whether he dies from rabies. If he doesn’t, you get him back. If he dies and tests positive, the victim has to get the shots, which are painful but less painful than dying from the disease.
Because an infection of rabies is life-threatening, it is a crime to fail to quarantine your dog, or conceal him to avoid a quarantine. See for example the California law pertaining to quarantine. Furthermore, you can be sued for not quarantining the dog and thereby causing the dog bite victim to suffer from worry about rabies or having to submit to rabies injections. See Liability for failure to vaccinate.
So be glad that they have developed this method, rather than forcing you or the victim to get the shots. The bottom line: it’s for your own benefit!