Prawit, who was detained since Sunday afternoon, was released after he signed an agreement not to lead, participate, or assist anti-coup movement which NCPO filed a pending police complaints against him that would take affect if he violate NCPO’s order again, a source said.