If the labor contract signed between you and the company does not stipulate that the company has the right to unilaterally transfer your post, then the company has no right to unilaterally transfer your post. Of course, if you can't continue to work in your original post due to changes in objective conditions (such as changes in job requirements) and disagree with the company's post adjustment arrangements, the company has the right to notify you to terminate the labor contract 30 days in advance. In this case, the company should give you financial compensation (if you work for 5 months, the company should compensate you for half a month's salary).
To sum up, if you want to resign, you can negotiate with the company and ask the company to agree to your immediate resignation. Otherwise, you ask the company to continue to perform the contract and provide the original job.
The above comments are for reference only.