How do I disable the AI collision after I kill him?

So I made a variable called isDead and that is for the AI to not attack me anymore, but the collision remains and sometimes I get stuck where he died. How do I fix this?

image
You could change the collision type of the capsule