South Korean President Yoon Suk-yeol has been released as the prosecution decided not to appeal against a court's release approval.