South Korean President Yoon Suk Yeol has been banned from leaving the country over a failed attempt at imposing martial law, a Justice Ministry official said on Monday, amid growing calls for him to step down and a deepening leadership crisis.

Yoon has apologized for the botched attempt and said he was leaving his political and legal fate to his ruling People Power Party (PPP) but has not resigned. He has become a subject of criminal investigation, according to local media reports.

On Monday, the Defense Ministry said Yoon was still legally commander in chief, but his grip on power has come into question with dissent growing among senior military officers against the president, and his own party saying it would establish a task force to handle his eventual resignation.