Noun written statement that one is giving up an office or position

Most of us have quit jobs before. Sometimes the impulse to burn one's bridges is too strong to ignore, but it's always best to leave in a polite, cordial way. What’s more polite than handing in your resignation on a cake?