A South Korean court cancelled the arrest warrant of impeached President Yoon Suk Yeol on Friday, but he remains behind bars with the prosecution likely to appeal.