She said that she's started to remember things from her past, little by little, and while she finds it frightening she feels that it is something she needs to know.
That seems to be her main reason for her leaving. Then she mentions she should at least return Ai-kun to his friends.
So she seems to be leaving more for her own sake, rather.