This question already has an answer here:
I work for a service based company in India and I am in probation still. Now I have got a very good opportunity to work for a renowned MNC. So I put down my papers, and I am ready to serve my notice period of 2 months.
But my resignation is not being accepted, and when I ask why is it so, my manager who is also the CEO of my company (since it is a small company), states a clause in my offer letter which says that if I am in the middle of a project, I would not be relieved even after 2 months of notice period until I train a replacement to the satisfaction of the client.
Now that there is nobody in my office who could replace me, what action should be taken by me to get relieved properly?