(a) If the accused is not arrested under warrant of the governor by the expiration of the time specified in the warrant, bond or undertaking, the judge or magistrate may discharge the accused or recommit the accused to a further day, or may again take bail for the accused's appearance and surrender, as provided in § 40-9-106; and at the expiration of the second period of commitment, or if the accused has been bailed and appeared, according to the terms of the bond or undertaking, the judge or magistrate may either discharge the accused, or require the accused to enter into a new bond or undertaking, to appear and surrender at another day.
(b) Whenever any fugitive from justice awaiting extradition to another state files a protest or requests a hearing before the governor of this state, prior to the returning of the fugitive to the other state, no judge or court in this state shall have the authority to order the release or discharge of the fugitive, pending the final disposition of the extradition proceeding before the governor. Likewise, the surety on any bail or appearance bond shall not be released from liability until final disposition of the matter by the governor of this state.