Specifically, the Jujutsu Sorcery community officially transferred "custody" of Panda to Yuta after he became the head of the Gojo Clan. That is, Yuta not only temporarily took over Gojo's body ...
However, that’s not the end of her role. In Chapter 268, she reads Gojo’s last letter to her where he mentions her mother. This opens the door for her new goal, despite her reluctance.