A witness who has appeared in accordance with the provisions of the summons shall not be required to remain within this State a longer period of time than the period mentioned in the certificate, unless otherwise ordered by the court.
S.C. Code § 19-9-90