You are not legally bound to continue in your apprenticeship, just like if you were a permanent member of staff. However with an apprenticeship there maybe a clause in your contract that you might have to payback some training costs, such as expenses or payment for holiday pay.