Yes, if the circumstances have changed, and you don’t have the chance to study until the very end (which I strongly recommend, because serious breakthroughs happen precisely in the middle and beyond), there is always the option of not attending anymore. If you let us know, the remaining payments for the course will not be necessary, and in case of overpayment, it will be reimbursed.