S.C. Code Ann. § 44-31-140
If a person concerned is committed to the State Park Health Center and if he leaves without permission or conducts himself so as to jeopardize the morale or well-being of his fellow patients in the opinion of the medical director, the director is empowered to isolate him and forceably detain him if necessary until such time as he is no longer a menace to others.