When leaving an employer, it is best to make a graceful exit, no matter how much you dislike your supervisor, peers or the company. Doing so is best for your reputation in the long term — you never know who you might cross paths with in the future.

Here's what to bear in mind:

* Before you submit a formal resignation letter, have a talk with your supervisor. Explain your reasons for leaving and reassure him that you will make the transition as smooth as possible. Also agree on how much notice you should provide. In most cases, the proper response from your supervisor should be to wish you luck and to offer you any help you might need.

* In some instances, your supervisor or others in your company might react badly to your resignation. They might behave rudely and display inappropriate behaviour.

Sometimes they might try to make you feel guilty about leaving. Remember, you are not doing anything wrong by leaving the company and there is no reason to feel guilty. Also keep in mind that such a reaction is not good practice. Maintain your composure and be graceful in your exit, even if your employer is not.

* Check your employment contract and company policy to have a clear idea of what formalities need to be taken care of. You should be clear on your expected entitlements, such as expense claims, unused vacation/sick leave and other benefits you should receive. For many of these, you will typically receive monetary compensation on a pro-rated basis.

* Get in touch with your human resource department and give them a formal resignation letter. Make sure to mention your last day of work and to request them to confirm the formalities you need to go through and to also confirm your entitlements/dues.

* Try to spend your last days in the company as though you were not leaving. In other words, keep your work standard at the same level and as far as possible, complete all outstanding assignments.

* Avoid burning any bridges and maintain good relations with people at work. Get the contact details of people whom you want to stay in touch with and maintain as part of your network.

* Your employer might say that it does not want to lose you and is willing to provide sweeteners (such as a better salary or change of role/job scope). In this case, it is recommended to only take the offer if you think it is very lucrative or attractive.

Research has shown that people who accept their company’s counter offer typically leave within a year (or might be asked to leave as well). This is because although you stay back, you have made it clear to your employer that you are not committed to the organisation — and you may not get the assignments and opportunities you want.