How can i disconnect timeline track in script

I created a Timeline. I added an Animation Track,and add serval Override Track for it. Can i disconnet one track in script at runtime?How?
I think i can do transition by diconneting other animations except the animation which i want to transit to.In Image, such as i want to transit from attack_light to jump,i may diconnet other override animation tracks .Or is there any better way to make transitions like node in Animator?
Thank you.

You could try muting an override track at runtime, but you might have to stop and restart the playable director (not sure) as it might have to regenerate the playable graph internally. So there might be a stutter. You might have to experiment.

Normally Timeline is for things like a cut sequence - a predefined sequence to play though rather than something you dynamically change at runtime. If you want to do lots of blending etc between animation clips, that is what animation state machines are for. Unity - Manual: Animation State Machines. Is there a reason you want to use a Timeline instead of a statemachine?