Does sortir not work in place of partir?
That would mean "Anne is about to go out" which has a different context than "leave".