detain or confine definition

detain or confine means to hold, keep, or restrain a person such that the person is not free to leave, or such that a reasonable person would believe that the person is not free to leave, except that a juvenile held by law enforcement solely for the purpose of returning the juvenile to the juvenile's parent or guardian or pending the juvenile's transfer to the custody of a child welfare or social service agency is not detained or confined within the meaning of this definition;
detain or confine means to hold, keep, or restrain a person such that he or she is not free to leave, or that a reasonable person would believe that he or she is not free to leave. There are two exceptional circumstances where lawful custody would not constitute the juvenile being detained or confined, provided only that the juvenile is not held using construction features: