If you really don't want to continue the job,
Write a letter of thanks cum resignation notice to your Manager.