Any person so apprehended or imprisoned may, at the discretion of the governor, be discharged upon giving bond with satisfactory security to leave the state and not return thereto for such period, to be stated in the bond, as the governor may prescribe; or he may be discharged on such other terms or conditions, or without conditions, as to the governor shall seem right and proper.
W. Va. Code § 5-1-5