Dear @Vishalgill_302,
Welcome to the Wefugees Community and sorry for the rather late reply.
Unfortunately, I am not very experienced with vocational training visas and their conditions but I will at least link some threads with similar questions we discussed on this platform before. Here and also here my colleague Éanna actually highlighted that it will be important to have a new contract for an "Ausbildung" before you quit the first to secure your residence permit. Is there any particular reason why you want to finish your current training immediately? And what would you like to do in the meantime until the new training year and potential new Ausbildung (August) starts?
I can always recommend to contact a migration counselling office for individual support in these matters as well.
In any case, please don't hesitate to give us an update on your situation or to get back to us with any further questions.
All the best,
Meike