There is no smooth way of exit if HR/Management is uncooperative. The employee can make a brief of all his activities, list out files/documents/property held by him, and keep it ready for handing over and getting acknowledgment from the company. The employee can probably get back to HR and stress his point that someone has to take over and formal acceptance of resignation be given. The employee should keep his activities in writing to leave a paper trail.