State Codes and Statutes

Statutes > South-carolina > Title-17 > Chapter-17

Title 17 - Criminal Procedures

CHAPTER 17.

HABEAS CORPUS

SECTION 17-17-10. Persons entitled to writ of habeas corpus.

If any person shall be or stand committed or detained for any crime, unless (a) for felony the punishment of which is death or treason, plainly expressed in the warrant of commitment, (b) charged as accessory before the fact to treason or felony the punishment of which is death or (c) charged with suspicion of treason or felony which is punishable with death, which shall be plainly expressed in the warrant of commitment, he shall be entitled to the writ of habeas corpus.

SECTION 17-17-20. Forfeiture of entitlement in certain cases.

If any person shall have wilfully neglected by the space of two whole terms after his imprisonment to pray a habeas corpus for his enlargement such person, so wilfully neglecting, shall not have any habeas corpus to be granted in vacation time in pursuance of this chapter.

SECTION 17-17-30. Authority of judges to grant writs of habeas corpus.

Any of the judges of this State, in vacation time and out of term, upon view of the copy of the warrant of commitment and detainer or otherwise and upon oath made that such copy was denied to be given by the person in whose custody the prisoner is detained, shall, upon request made in writing by such person as is committed as aforesaid or any on his behalf, attested and subscribed by two witnesses who were present at the delivery of the request, award and grant a writ of habeas corpus, under the seal of such court, whereof he shall be one of the judges.

SECTION 17-17-40. Authority of any two magistrates to grant writs of habeas corpus.

Any two magistrates shall grant the writ of habeas corpus as fully, effectually and lawfully as may any judge of the court of common pleas and general sessions or justice of the Supreme Court of this State, except in cases of felony the punishment for which is death or imprisonment for life and except in changing the custody of any child, in which cases magistrates shall have no jurisdiction in applications for habeas corpus.

SECTION 17-17-50. Persons to whom writ shall be directed.

Such writ shall be directed to the officer in whose custody the party so committed or detained shall be and shall be returned immediately before the judge issuing it.

SECTION 17-17-60. Service of writ.

The writ shall be served upon the officer or left at the jail or prison with any of the underofficers, underkeepers or deputies of any such officer or keeper.

SECTION 17-17-70. Handling of prisoner after service of writ; payment of charges; return of writ.

Such officer or his underofficer, underkeeper or deputy shall, within three days after the service thereof and upon:

(1) Payment or tender of charges, not exceeding ten cents per mile, of bringing the prisoner, to be ascertained by the judge or court that awarded the writ and endorsed thereon; and

(2) Security given by his own bond (a) to pay the charges of carrying back the prisoner, if he shall be remanded by the court or judge to which he shall be brought and (b) that he will not make any escape by the way;

Make return of such writ and bring or cause to be brought the body of the person so committed or restrained unto or before the judge or court from whence the writ shall issue or unto and before such other person before whom the writ is made returnable, according to the command thereof, and shall then certify the true cause of his detainer or imprisonment; provided, however, that:

(1) If any prisoner be not able to pay such charges they shall be paid by the county wherein he is confined; and

(2) If such prisoner shall be acquitted of the charge against him or finally discharged on habeas corpus by the judge or court hearing the habeas corpus proceedings the expenses of the proceeding in habeas corpus shall be paid by the county in which the case is situated.

SECTION 17-17-80. Time within which prisoners must be brought before court.

If the place of imprisonment of the person be beyond the distance of twenty miles from the place where such court is held and not above one hundred miles he shall be brought before the court or the person before whom the writ is returnable within the space of ten days and if beyond the distance of one hundred miles then within the space of twenty days after the delivery of such writ and not longer.

SECTION 17-17-90. Granting of writ during term of court.

During the term of the circuit court for the county in which any prisoner is detained no person shall be removed from the common jail upon any writ of habeas corpus granted in pursuance of this chapter but, upon any such writ, shall be brought before the circuit judge, in open court, who is thereupon to do what to justice shall appertain.

SECTION 17-17-100. Transfer of matter for hearing to judge of court in county where prisoner was convicted.

Any judge before whom a petition for a writ of habeas corpus is made by any person confined by the State Board of Corrections in any of its places of confinement who has been tried and convicted by a court of competent jurisdiction, shall upon issuance of the writ of habeas corpus transfer the matter for hearing to any judge of any court of competent jurisdiction in the county where the person was convicted.

SECTION 17-17-110. Granting of writ after adjournment.

After the circuit court adjourns any person detained may have a writ of habeas corpus, according to the direction and intention of this chapter.

SECTION 17-17-120. Discharge only after notice shall be given to Attorney General, circuit solicitor, or attorney acting for State.

When it appears from the return of the writ or otherwise that the person is imprisoned on a criminal accusation he shall not be discharged until sufficient notice has been given to the Attorney General or circuit solicitor or other attorney acting for the State, that he may appear and object to such discharge, if he thinks fit.

SECTION 17-17-130. Proceedings upon hearing of return.

If, upon a hearing, the prisoner shall be entitled to his discharge then the judge before whom he is brought shall within two days after the prisoner shall be brought before him discharge the prisoner from his imprisonment, taking his recognizance, with one or more surety or sureties, in any sum according to the judge's discretion, having regard to the nature of the offense, for his appearance the term following in the court of general sessions for the county in which the offense is alleged to have been committed or in the court of such other county in which the alleged offense is properly cognizable, as the case shall require. And the judge shall then certify the writ, with the return thereof, and the recognizance into the court in which such appearance is to be made. But if no legal cause be shown for the imprisonment or restraint the prisoner shall be discharged therefrom.

SECTION 17-17-140. Right to appeal from decision on writ.

An appeal from all final decisions rendered on applications for writs of habeas corpus shall be allowed as is provided by law in civil actions.

SECTION 17-17-150. Person discharged shall not be rearrested or committed for same offense.

No person who shall be delivered or set at large upon any writ of habeas corpus shall, at any time, be again imprisoned or committed for the same offense by any person whatsoever, other than by the legal order and process of such court wherein he shall be bound by recognizance to appear or other court having jurisdiction of the cause. If any other person shall knowingly, contrary to this chapter, recommit or imprison or knowingly procure or cause to be recommitted or imprisoned for the same offense or pretended offense any person delivered or set at large, as aforesaid, or be knowingly aiding or assisting therein, then he shall forfeit to the prisoner or person grieved the sum of two thousand five hundred dollars, any colorable pretense or variation in the warrant of commitment notwithstanding, to be recovered as provided in Section 17-17-180.

SECTION 17-17-160. Officers shall execute writ.

Every sheriff, deputy sheriff or jailer shall give due obedience to the execution of every writ of habeas corpus made or signed by any person by law empowered to grant the writ and shall do and perform any matter or thing which by the writ he may be required to do. And if he shall wilfully neglect, refuse or omit to obey or perform the writ when legally requested and demanded in such case, for each such neglect, refusal, or omission, he shall forfeit the sum of five hundred dollars, to be recovered by indictment.

SECTION 17-17-170. Penalty for officers neglecting their duty.

Every person whatsoever to whom any power is given, either judicial or ministerial, by this chapter which, by virtue hereof, he is required and commanded to exercise who shall wilfully neglect, refuse or omit to exercise the power when such exercise shall be legally requested and demanded, according to the directions herein, and when the person so requesting and demanding such exercise is legally entitled so to request or demand by the provisions of this chapter, for each such offense shall forfeit the sum of five hundred dollars and shall be thereafter incapable of holding or executing his office.

SECTION 17-17-180. Recovery of penalties.

Such penalties may be recovered by the prisoner or party grieved, his executors and administrators, against such offender, his executors or administrators, by action in any court of competent jurisdiction wherein no protection, privilege, injunction or stay of prosecution shall be admitted or allowed.

SECTION 17-17-190. Suspension of habeas corpus by Governor.

If, during any insurrection, rebellion or any unlawful obstruction of the laws, as set forth in Section 25-1-1850, the Governor in his judgment shall deem the public safety to require it, he may suspend the privilege of the writ of habeas corpus in any case throughout the State or any part thereof.

SECTION 17-17-200. Effect of suspension of writ.

Whenever the privilege of the writ of habeas corpus shall be suspended, as aforesaid, no military or other officer shall be compelled in answer to any writ of habeas corpus to return the body of any person detained by him by authority of the Governor. But upon certificate under oath of the officer having charge of anyone so detained that such person is detained by him as a prisoner under the authority of the Governor further proceedings under the writ of habeas corpus shall be suspended by the judge or court having issued the writ so long as such suspension by the Governor shall remain in force and the cause for such suspension continue.



State Codes and Statutes

Statutes > South-carolina > Title-17 > Chapter-17

Title 17 - Criminal Procedures

CHAPTER 17.

HABEAS CORPUS

SECTION 17-17-10. Persons entitled to writ of habeas corpus.

If any person shall be or stand committed or detained for any crime, unless (a) for felony the punishment of which is death or treason, plainly expressed in the warrant of commitment, (b) charged as accessory before the fact to treason or felony the punishment of which is death or (c) charged with suspicion of treason or felony which is punishable with death, which shall be plainly expressed in the warrant of commitment, he shall be entitled to the writ of habeas corpus.

SECTION 17-17-20. Forfeiture of entitlement in certain cases.

If any person shall have wilfully neglected by the space of two whole terms after his imprisonment to pray a habeas corpus for his enlargement such person, so wilfully neglecting, shall not have any habeas corpus to be granted in vacation time in pursuance of this chapter.

SECTION 17-17-30. Authority of judges to grant writs of habeas corpus.

Any of the judges of this State, in vacation time and out of term, upon view of the copy of the warrant of commitment and detainer or otherwise and upon oath made that such copy was denied to be given by the person in whose custody the prisoner is detained, shall, upon request made in writing by such person as is committed as aforesaid or any on his behalf, attested and subscribed by two witnesses who were present at the delivery of the request, award and grant a writ of habeas corpus, under the seal of such court, whereof he shall be one of the judges.

SECTION 17-17-40. Authority of any two magistrates to grant writs of habeas corpus.

Any two magistrates shall grant the writ of habeas corpus as fully, effectually and lawfully as may any judge of the court of common pleas and general sessions or justice of the Supreme Court of this State, except in cases of felony the punishment for which is death or imprisonment for life and except in changing the custody of any child, in which cases magistrates shall have no jurisdiction in applications for habeas corpus.

SECTION 17-17-50. Persons to whom writ shall be directed.

Such writ shall be directed to the officer in whose custody the party so committed or detained shall be and shall be returned immediately before the judge issuing it.

SECTION 17-17-60. Service of writ.

The writ shall be served upon the officer or left at the jail or prison with any of the underofficers, underkeepers or deputies of any such officer or keeper.

SECTION 17-17-70. Handling of prisoner after service of writ; payment of charges; return of writ.

Such officer or his underofficer, underkeeper or deputy shall, within three days after the service thereof and upon:

(1) Payment or tender of charges, not exceeding ten cents per mile, of bringing the prisoner, to be ascertained by the judge or court that awarded the writ and endorsed thereon; and

(2) Security given by his own bond (a) to pay the charges of carrying back the prisoner, if he shall be remanded by the court or judge to which he shall be brought and (b) that he will not make any escape by the way;

Make return of such writ and bring or cause to be brought the body of the person so committed or restrained unto or before the judge or court from whence the writ shall issue or unto and before such other person before whom the writ is made returnable, according to the command thereof, and shall then certify the true cause of his detainer or imprisonment; provided, however, that:

(1) If any prisoner be not able to pay such charges they shall be paid by the county wherein he is confined; and

(2) If such prisoner shall be acquitted of the charge against him or finally discharged on habeas corpus by the judge or court hearing the habeas corpus proceedings the expenses of the proceeding in habeas corpus shall be paid by the county in which the case is situated.

SECTION 17-17-80. Time within which prisoners must be brought before court.

If the place of imprisonment of the person be beyond the distance of twenty miles from the place where such court is held and not above one hundred miles he shall be brought before the court or the person before whom the writ is returnable within the space of ten days and if beyond the distance of one hundred miles then within the space of twenty days after the delivery of such writ and not longer.

SECTION 17-17-90. Granting of writ during term of court.

During the term of the circuit court for the county in which any prisoner is detained no person shall be removed from the common jail upon any writ of habeas corpus granted in pursuance of this chapter but, upon any such writ, shall be brought before the circuit judge, in open court, who is thereupon to do what to justice shall appertain.

SECTION 17-17-100. Transfer of matter for hearing to judge of court in county where prisoner was convicted.

Any judge before whom a petition for a writ of habeas corpus is made by any person confined by the State Board of Corrections in any of its places of confinement who has been tried and convicted by a court of competent jurisdiction, shall upon issuance of the writ of habeas corpus transfer the matter for hearing to any judge of any court of competent jurisdiction in the county where the person was convicted.

SECTION 17-17-110. Granting of writ after adjournment.

After the circuit court adjourns any person detained may have a writ of habeas corpus, according to the direction and intention of this chapter.

SECTION 17-17-120. Discharge only after notice shall be given to Attorney General, circuit solicitor, or attorney acting for State.

When it appears from the return of the writ or otherwise that the person is imprisoned on a criminal accusation he shall not be discharged until sufficient notice has been given to the Attorney General or circuit solicitor or other attorney acting for the State, that he may appear and object to such discharge, if he thinks fit.

SECTION 17-17-130. Proceedings upon hearing of return.

If, upon a hearing, the prisoner shall be entitled to his discharge then the judge before whom he is brought shall within two days after the prisoner shall be brought before him discharge the prisoner from his imprisonment, taking his recognizance, with one or more surety or sureties, in any sum according to the judge's discretion, having regard to the nature of the offense, for his appearance the term following in the court of general sessions for the county in which the offense is alleged to have been committed or in the court of such other county in which the alleged offense is properly cognizable, as the case shall require. And the judge shall then certify the writ, with the return thereof, and the recognizance into the court in which such appearance is to be made. But if no legal cause be shown for the imprisonment or restraint the prisoner shall be discharged therefrom.

SECTION 17-17-140. Right to appeal from decision on writ.

An appeal from all final decisions rendered on applications for writs of habeas corpus shall be allowed as is provided by law in civil actions.

SECTION 17-17-150. Person discharged shall not be rearrested or committed for same offense.

No person who shall be delivered or set at large upon any writ of habeas corpus shall, at any time, be again imprisoned or committed for the same offense by any person whatsoever, other than by the legal order and process of such court wherein he shall be bound by recognizance to appear or other court having jurisdiction of the cause. If any other person shall knowingly, contrary to this chapter, recommit or imprison or knowingly procure or cause to be recommitted or imprisoned for the same offense or pretended offense any person delivered or set at large, as aforesaid, or be knowingly aiding or assisting therein, then he shall forfeit to the prisoner or person grieved the sum of two thousand five hundred dollars, any colorable pretense or variation in the warrant of commitment notwithstanding, to be recovered as provided in Section 17-17-180.

SECTION 17-17-160. Officers shall execute writ.

Every sheriff, deputy sheriff or jailer shall give due obedience to the execution of every writ of habeas corpus made or signed by any person by law empowered to grant the writ and shall do and perform any matter or thing which by the writ he may be required to do. And if he shall wilfully neglect, refuse or omit to obey or perform the writ when legally requested and demanded in such case, for each such neglect, refusal, or omission, he shall forfeit the sum of five hundred dollars, to be recovered by indictment.

SECTION 17-17-170. Penalty for officers neglecting their duty.

Every person whatsoever to whom any power is given, either judicial or ministerial, by this chapter which, by virtue hereof, he is required and commanded to exercise who shall wilfully neglect, refuse or omit to exercise the power when such exercise shall be legally requested and demanded, according to the directions herein, and when the person so requesting and demanding such exercise is legally entitled so to request or demand by the provisions of this chapter, for each such offense shall forfeit the sum of five hundred dollars and shall be thereafter incapable of holding or executing his office.

SECTION 17-17-180. Recovery of penalties.

Such penalties may be recovered by the prisoner or party grieved, his executors and administrators, against such offender, his executors or administrators, by action in any court of competent jurisdiction wherein no protection, privilege, injunction or stay of prosecution shall be admitted or allowed.

SECTION 17-17-190. Suspension of habeas corpus by Governor.

If, during any insurrection, rebellion or any unlawful obstruction of the laws, as set forth in Section 25-1-1850, the Governor in his judgment shall deem the public safety to require it, he may suspend the privilege of the writ of habeas corpus in any case throughout the State or any part thereof.

SECTION 17-17-200. Effect of suspension of writ.

Whenever the privilege of the writ of habeas corpus shall be suspended, as aforesaid, no military or other officer shall be compelled in answer to any writ of habeas corpus to return the body of any person detained by him by authority of the Governor. But upon certificate under oath of the officer having charge of anyone so detained that such person is detained by him as a prisoner under the authority of the Governor further proceedings under the writ of habeas corpus shall be suspended by the judge or court having issued the writ so long as such suspension by the Governor shall remain in force and the cause for such suspension continue.




State Codes and Statutes

State Codes and Statutes

Statutes > South-carolina > Title-17 > Chapter-17

Title 17 - Criminal Procedures

CHAPTER 17.

HABEAS CORPUS

SECTION 17-17-10. Persons entitled to writ of habeas corpus.

If any person shall be or stand committed or detained for any crime, unless (a) for felony the punishment of which is death or treason, plainly expressed in the warrant of commitment, (b) charged as accessory before the fact to treason or felony the punishment of which is death or (c) charged with suspicion of treason or felony which is punishable with death, which shall be plainly expressed in the warrant of commitment, he shall be entitled to the writ of habeas corpus.

SECTION 17-17-20. Forfeiture of entitlement in certain cases.

If any person shall have wilfully neglected by the space of two whole terms after his imprisonment to pray a habeas corpus for his enlargement such person, so wilfully neglecting, shall not have any habeas corpus to be granted in vacation time in pursuance of this chapter.

SECTION 17-17-30. Authority of judges to grant writs of habeas corpus.

Any of the judges of this State, in vacation time and out of term, upon view of the copy of the warrant of commitment and detainer or otherwise and upon oath made that such copy was denied to be given by the person in whose custody the prisoner is detained, shall, upon request made in writing by such person as is committed as aforesaid or any on his behalf, attested and subscribed by two witnesses who were present at the delivery of the request, award and grant a writ of habeas corpus, under the seal of such court, whereof he shall be one of the judges.

SECTION 17-17-40. Authority of any two magistrates to grant writs of habeas corpus.

Any two magistrates shall grant the writ of habeas corpus as fully, effectually and lawfully as may any judge of the court of common pleas and general sessions or justice of the Supreme Court of this State, except in cases of felony the punishment for which is death or imprisonment for life and except in changing the custody of any child, in which cases magistrates shall have no jurisdiction in applications for habeas corpus.

SECTION 17-17-50. Persons to whom writ shall be directed.

Such writ shall be directed to the officer in whose custody the party so committed or detained shall be and shall be returned immediately before the judge issuing it.

SECTION 17-17-60. Service of writ.

The writ shall be served upon the officer or left at the jail or prison with any of the underofficers, underkeepers or deputies of any such officer or keeper.

SECTION 17-17-70. Handling of prisoner after service of writ; payment of charges; return of writ.

Such officer or his underofficer, underkeeper or deputy shall, within three days after the service thereof and upon:

(1) Payment or tender of charges, not exceeding ten cents per mile, of bringing the prisoner, to be ascertained by the judge or court that awarded the writ and endorsed thereon; and

(2) Security given by his own bond (a) to pay the charges of carrying back the prisoner, if he shall be remanded by the court or judge to which he shall be brought and (b) that he will not make any escape by the way;

Make return of such writ and bring or cause to be brought the body of the person so committed or restrained unto or before the judge or court from whence the writ shall issue or unto and before such other person before whom the writ is made returnable, according to the command thereof, and shall then certify the true cause of his detainer or imprisonment; provided, however, that:

(1) If any prisoner be not able to pay such charges they shall be paid by the county wherein he is confined; and

(2) If such prisoner shall be acquitted of the charge against him or finally discharged on habeas corpus by the judge or court hearing the habeas corpus proceedings the expenses of the proceeding in habeas corpus shall be paid by the county in which the case is situated.

SECTION 17-17-80. Time within which prisoners must be brought before court.

If the place of imprisonment of the person be beyond the distance of twenty miles from the place where such court is held and not above one hundred miles he shall be brought before the court or the person before whom the writ is returnable within the space of ten days and if beyond the distance of one hundred miles then within the space of twenty days after the delivery of such writ and not longer.

SECTION 17-17-90. Granting of writ during term of court.

During the term of the circuit court for the county in which any prisoner is detained no person shall be removed from the common jail upon any writ of habeas corpus granted in pursuance of this chapter but, upon any such writ, shall be brought before the circuit judge, in open court, who is thereupon to do what to justice shall appertain.

SECTION 17-17-100. Transfer of matter for hearing to judge of court in county where prisoner was convicted.

Any judge before whom a petition for a writ of habeas corpus is made by any person confined by the State Board of Corrections in any of its places of confinement who has been tried and convicted by a court of competent jurisdiction, shall upon issuance of the writ of habeas corpus transfer the matter for hearing to any judge of any court of competent jurisdiction in the county where the person was convicted.

SECTION 17-17-110. Granting of writ after adjournment.

After the circuit court adjourns any person detained may have a writ of habeas corpus, according to the direction and intention of this chapter.

SECTION 17-17-120. Discharge only after notice shall be given to Attorney General, circuit solicitor, or attorney acting for State.

When it appears from the return of the writ or otherwise that the person is imprisoned on a criminal accusation he shall not be discharged until sufficient notice has been given to the Attorney General or circuit solicitor or other attorney acting for the State, that he may appear and object to such discharge, if he thinks fit.

SECTION 17-17-130. Proceedings upon hearing of return.

If, upon a hearing, the prisoner shall be entitled to his discharge then the judge before whom he is brought shall within two days after the prisoner shall be brought before him discharge the prisoner from his imprisonment, taking his recognizance, with one or more surety or sureties, in any sum according to the judge's discretion, having regard to the nature of the offense, for his appearance the term following in the court of general sessions for the county in which the offense is alleged to have been committed or in the court of such other county in which the alleged offense is properly cognizable, as the case shall require. And the judge shall then certify the writ, with the return thereof, and the recognizance into the court in which such appearance is to be made. But if no legal cause be shown for the imprisonment or restraint the prisoner shall be discharged therefrom.

SECTION 17-17-140. Right to appeal from decision on writ.

An appeal from all final decisions rendered on applications for writs of habeas corpus shall be allowed as is provided by law in civil actions.

SECTION 17-17-150. Person discharged shall not be rearrested or committed for same offense.

No person who shall be delivered or set at large upon any writ of habeas corpus shall, at any time, be again imprisoned or committed for the same offense by any person whatsoever, other than by the legal order and process of such court wherein he shall be bound by recognizance to appear or other court having jurisdiction of the cause. If any other person shall knowingly, contrary to this chapter, recommit or imprison or knowingly procure or cause to be recommitted or imprisoned for the same offense or pretended offense any person delivered or set at large, as aforesaid, or be knowingly aiding or assisting therein, then he shall forfeit to the prisoner or person grieved the sum of two thousand five hundred dollars, any colorable pretense or variation in the warrant of commitment notwithstanding, to be recovered as provided in Section 17-17-180.

SECTION 17-17-160. Officers shall execute writ.

Every sheriff, deputy sheriff or jailer shall give due obedience to the execution of every writ of habeas corpus made or signed by any person by law empowered to grant the writ and shall do and perform any matter or thing which by the writ he may be required to do. And if he shall wilfully neglect, refuse or omit to obey or perform the writ when legally requested and demanded in such case, for each such neglect, refusal, or omission, he shall forfeit the sum of five hundred dollars, to be recovered by indictment.

SECTION 17-17-170. Penalty for officers neglecting their duty.

Every person whatsoever to whom any power is given, either judicial or ministerial, by this chapter which, by virtue hereof, he is required and commanded to exercise who shall wilfully neglect, refuse or omit to exercise the power when such exercise shall be legally requested and demanded, according to the directions herein, and when the person so requesting and demanding such exercise is legally entitled so to request or demand by the provisions of this chapter, for each such offense shall forfeit the sum of five hundred dollars and shall be thereafter incapable of holding or executing his office.

SECTION 17-17-180. Recovery of penalties.

Such penalties may be recovered by the prisoner or party grieved, his executors and administrators, against such offender, his executors or administrators, by action in any court of competent jurisdiction wherein no protection, privilege, injunction or stay of prosecution shall be admitted or allowed.

SECTION 17-17-190. Suspension of habeas corpus by Governor.

If, during any insurrection, rebellion or any unlawful obstruction of the laws, as set forth in Section 25-1-1850, the Governor in his judgment shall deem the public safety to require it, he may suspend the privilege of the writ of habeas corpus in any case throughout the State or any part thereof.

SECTION 17-17-200. Effect of suspension of writ.

Whenever the privilege of the writ of habeas corpus shall be suspended, as aforesaid, no military or other officer shall be compelled in answer to any writ of habeas corpus to return the body of any person detained by him by authority of the Governor. But upon certificate under oath of the officer having charge of anyone so detained that such person is detained by him as a prisoner under the authority of the Governor further proceedings under the writ of habeas corpus shall be suspended by the judge or court having issued the writ so long as such suspension by the Governor shall remain in force and the cause for such suspension continue.