So I presume HR had a chat and offered them a pile of money to resign - or if they didn't accept, indicated there would be an investigation into their behaviour.
Presuming they didn't choose option 2 and lose - when asked, nobody's going to say they left for sexual misconduct.
In my country, you can verbally tender your resignation in the meeting to fire you, and the company will almost always accept.
It saves the company some paperwork, and weakens the employee's case for taking them to court for wrongful firing. In exchange, the employee can truthfully tell future employees they weren't fired.
So I presume HR had a chat and offered them a pile of money to resign - or if they didn't accept, indicated there would be an investigation into their behaviour.
Presuming they didn't choose option 2 and lose - when asked, nobody's going to say they left for sexual misconduct.