Like in question, what does the Exit State do?
you can find some info here : Unity - Manual: State Machine Transitions