Regarding Job Contract period

Hi, I'm facing problem on job contract period. I have signed the agreement to my current working company regarding my commitment on duration of work with some commitment when I was searching a job. The commitment's are 1. need to complete the duration period which is mentioned in the agreement. 2. And need to submit all my education certificates and passport. 3. If we can't follow the above rules we need to pay 1lakh rupees and get relieve from the company. Initially I was accepted the agreement, and I have handovered my school certificates and passport. Recently I got my degree certificate. They forcing me to handover my degree certificate also. But I don't want give that certificate to them because of my work nature. I won't like my work nature, medically I was affected lot and planning for moving out from company. Please help me on this to get relieve from the company with my all the certificates which i have given to them and without breaking any laws and also without paying any amount. Thanks in advance. Please guide me to resolve this problem without affecting my career.