I do not think there are special procedures for terminating an enployment. Just make sure you have legal immigration status at the time you terminate your job since your H1 status will be terminated at the same time.