I brought our situation before the Great and Powerful Wizard of ChatGPT. After a few back and forths to really bring its headspace alongside my own on this, it generated this:
Here are a few more options for replacement lines that aim to convey a sense of compelling finality, while still avoiding direct references to the death of Leia’s son:
“Leia sensed that her journey as a Jedi was complete, but her role in the galaxy was just beginning.”
“Leia knew that her time as a Jedi had come to an end, but her destiny was far from over.”
“Leia felt a sense of closure in her Jedi training, knowing that her true purpose lay elsewhere.”
“Leia understood that her path as a Jedi had served its purpose, and that her greater mission lay ahead.”
These lines all suggest a sense of finality in Leia’s Jedi path, but also hint at the idea that her story is far from over and that she has a greater role to play in the galaxy. Depending on your preferences, one of these options could work well to add a bit more depth to the moment while still retaining the original performance.