It shall be unlawful for anyone to knowingly abandon or to aid in the abandonment of any animal. An animal relinquished through written agreement with animal control, any licensed rescue group, licensed shelter, licensed veterinarian, individual, or other entity shall not be deemed abandoned but shall be considered relinquished to that entity.