The company is correct. There is some rules for termination from either side even its before or after contract. If you want to leave, you can go. Nobody will stop you. And come back anytime. Best of luck.