Any officer who shall deliver to the agent for extradition of the demanding state a person in his or her custody under the Governor's warrant in disobedience to the last section shall be guilty of a misdemeanor, and on conviction shall be fined not more than one thousand dollars ($1,000) or be imprisoned not more than six (6) months, or both.