How do I unassign an AI Controller to a Pawn?

Hmm I did it, but the behavior tree and some other AI functions are still running. I would like to make my AI dead