Section 30. An animal which has been quarantined or isolated by order of the director or of his agent, or of an inspector, shall, during the continuance of such quarantine or isolation, be deemed to be affected with a contagious disease. Whenever an animal has been released from quarantine by order of the director the same animal shall not again be quarantined or isolated by an inspector during the period of thirty days immediately following such release except upon order of the director. Whoever knowingly breaks or authorizes or causes to be broken a quarantine so imposed, or whoever, contrary to such order of quarantine or isolation, knowingly removes an animal or authorizes or causes it to be removed from a building, place or enclosure where it is quarantined or isolated, or whoever, contrary to an order or notice of quarantine, knowingly places or causes or authorizes to be placed any other animals within a building, place or enclosure where an animal is quarantined, or in contact therewith, or whoever knowingly conceals, sells, removes or transports, or knowingly causes or authorizes to be concealed, sold, removed or transported, an animal, knowing or having reasonable cause to believe that it is affected with a contagious disease, or whoever knowingly authorizes or permits such animal to go at large upon any public way within the commonwealth, or whoever knowingly brings or authorizes or permits to be brought from another country, state, district or territory into this commonwealth, an animal which is affected with or has been exposed to a contagious disease, or whoever disobeys a lawful order or regulation of the director or of any of his agents or of inspectors in the performance of their duty under this chapter, shall be punished by a fine of not more than five hundred dollars or by imprisonment for not more than one year, or both.