"By the end of the war, Unduli served alongside Yoda, Republic forces, and Wookiee warriors during a battle on the Wookiee homeworld of Kashyyyk. During the battle, Supreme Chancellor Sheev Palpatine issued Order 66, a command ordering all clone troopers to kill their Jedi commanders. Unduli evaded the fate that many of her fellow Jedi had, however she was taken into custody by the Empire. The Jedi Order was destroyed, and Palpatine declared himself Emperor and transformed the Republic into the Galactic Empire. After a short time in the prison known as the Spire on Stygeon Prime, she was executed in her cell in the presence of the Inquisitor, who then held her remains for future purposes of the Empire.
After her death, rumors began to spread that Unduli had survived the Clone Wars and was still alive, with those rumors existing as late as fourteen years after the war ended. In reality, the Empire used Unduli's remains to lure Jedi survivors into traps so they could be killed. One such trap was laid by the Inquisitor fourteen years after the war, with Unduli's remains still held in the Spire. In an attempt to trick Jedi survivor Kanan Jarrus and the rebel crew of the Ghost into a trap, former Imperial Senator Gall Trayvis, a secret operative of the Empire, 'hacked' a HoloNet News transmission to proclaim that Unduli was being held in the Stygeon system. Jarrus and the crew determined that they would mount a rescue mission to save Unduli. Jarrus, who remembered Unduli as a compassionate and capable Jedi, especially wanted to find her as he believed she would be a better teacher for his apprentice, Ezra Bridger, than he had been.
The rebels infiltrated the Spire, with Jarrus and Bridger leading the search for the Jedi Master. They found the cell she appeared to be held in, where they saw a physical manifestation of her. Jarrus could sense her presence, but something about it felt wrong. Her physical manifestation (in reality a hologram) soon disappeared into a case on the wall, which contained Unduli's desiccating remains. It was at that moment that the Inquisitor revealed himself and attempted to kill the two Jedi, but the rebels were able to escape. The experience nonetheless helped teach Jarrus that he could train Bridger himself. Having survived the Inquisitor's trap, Jarrus resolved to spread the word that Luminara was dead and news of her imprisonment was being used as bait for exiled Jedi."