When I was in the process of getting fired, the advice here https://jobsandcareer.tips/letter-of-resignation-the-definitive-guide/ helped me a lot on how to get paperwork. I have used some templates. And so I was able to arrange everything in a short time. It was important to me because I found a new job.