released from detention