A juvenile placed on aftercare supervision may be taken into temporary detention or shelter by an authorized employee of the Department of Corrections or a law enforcement officer if the juvenile has failed to comply with the terms and conditions of aftercare or if the purposes and objects of aftercare supervision are not being served.
No juvenile may be held in temporary detention or shelter longer than twenty-four hours, excluding Saturdays, Sundays, and holidays except as authorized pursuant to § 26-11A-14.
No juvenile may be placed in temporary detention or shelter in violation of § 26-7A-26.
SDCL 26-11A-13