For all purposes other than that for which temporary custody as provided in this agreement is exercised, the prisoner shall be deemed to remain in the custody of and subject to the jurisdiction of the sending state and any escape from temporary custody may be dealt with in the same manner as an escape from the original place of imprisonment or in any other manner permitted by law.
SDCL 23-24A-24