Mission to Vetine In 5 ABY , three months after the Battle of Endor , Commander Luke Skywalker and Lieutenant Shara Bey of the Alliance to Restore the Republic undertook a mission to the planet Vetine in order to infiltrate an Imperial base . Their objective was to retrieve the last remaining fragments of a Great Tree that once dwelled at the heart of the Jedi Temple , before Darth Sidious declared himself Emperor and converted the Jedi Temple into the Imperial Palace . The pair , along with the astromech droid R2 - D2 , arrived on Vetine and had Bey claim that she was Commander Alecia Beck of the Imperial Security Bureau . Under the pretense that " Beck " was performing a surprise inspection of the base , they gained access and were briefly given a tour by the base ' s commander , Commandant Hurron . The commandant , however , knew that Bey was not Commander Beck and lured them into a trap in the research lab containing the tree fragments . Skywalker and Bey fought their way out of the base after successfully retrieving the tree , and their escape resulted in the death s of Commandant Hurron and several stormtrooper s . After the mission , Skywalker took one of the trees for himself and gifted the second to Bey and her husband , Kes Dameron , and they planted it outside their new home on Yavin 4 after ending their service in the Rebel Alliance . Prelude . During the Galactic Civil War , and twenty days after the Battle of Endor , the Rebel Alliance special forces team known as the Pathfinders launched a raid on an Imperial Security Bureau black site at the Wretch of Tayron in the Outer Rim Territories . The successful raid allowed the Rebel protocol droid C - 3PO to breach through Imperial encryption codes and gain access to the ISB ' s computer network in the base . In doing so , the Rebel Alliance gained valuable information about Imperial activities , including — an Imperial campaign designed to render countless worlds uninhabitable in the wake of the Emperor ' s death . Also among the information was clearance codes belonging to Commander Alecia Beck , an operative in the Imperial Security Bureau . The mission . In 5 ABY , three months after the operation at the Wretch of Tayron , Commander Luke Skywalker , a Jedi Knight who served the Rebel Alliance , planned a mission to the planet Vetine in order to retrieve the remnants of the Great Tree that had once dwelled in the Jedi Temple on Coruscant . The ancient tree , which lived in a courtyard within the temple , was removed when Darth Sidious declared himself Emperor and transformed the Jedi Temple into the Imperial Palace . Its only surviving fragments remained in a research lab within an Imperial base on Vetine , and only the Emperor himself and the base ' s commander , Commandant Hurron , had access to the lab . Skywalker opted to use a stolen Imperial shuttle , " Antarra " , for the mission and recruited Lieutenant Shara Bey of Green Squadron to fly as his co - pilot . Also on the mission was Skywalker ' s astromech droid R2 - D2 . While en route to Vetine , Skywalker provided Bey with an Imperial officer ' s uniform and explained that she would be posing as Commander Beck and using the clearance codes stolen from the Wretch of Tayron . He also explained that the mission was to retrieve something the Emperor had stolen , but Skywalker did not explain what he was hoping to retrieve . The " Antarra " soon arrived and transmitted its clearance codes , giving it safe passage to land outside the base . Bey posed as Commander Beck while Skywalker posed as her bodyguard , and they were greeted by Commandant Hurron . Bey claimed she , as Beck , was there to perform a surprise inspection of the base . Hurron feigned ignorance , as he knew that Bey was not Beck — unlike Bey , Beck was missing her left eye — and proceeded to escort Bey , Skywalker , and Artoo into the facility . Inside the facility , Hurron explained that security at the labs had become tighter since the Battle of Endor , with the base more restricted than it was before . He further explained that the lab containing the remnants of the tree was accessible by only himself and the late Emperor , revealing that he had never understood the need for such a restriction — until Bey ' s arrival , admitting he knew she was not Commander Beck . Inside the lab , where Skywalker discovered that there were two remaining fragments , Hurron ' s stormtroopers took aim at the two Rebels , and he asked why two Rebels would want to break into the lab to steal ' twigs . ' Skywalker revealed to him that they were once a part of the tree located at the heart of the Jedi Temple , and the Jedi Knight used the Force to send Hurron and the stormtroopers flying backward . Artoo , who had been secretly holding Skywalker ' s lightsaber , released the weapon , and Skywalker held off the Imperial forces while Bey and Artoo went to retrieve the tree fragments . Artoo released the containment field holding the trees in place , and Bey caught them before they could hit the ground . The Rebels fought their way out of the lab and back into the halls , where they were confronted by stormtroopers firing a cannon at them . Skywalker cut through the cannon with his blade and eliminated the stormtroopers , allowing the Rebels to make their way back onto the landing pad where the " Antarra " had landed . Once outside , Hurron ordered his forces to stop firing at Skywalker , as the Jedi Knight was simply deflecting their shots with his lightsaber , and to instead throw a trio of detonators at them . Skywalker used the Force to throw them back at the Imperials , engulfing Hurron and his stormtroopers in a massive explosion . With their opposition dead , the Rebels boarded the " Antarra " and left Vetine . Aftermath . After their mission to Vetine , Bey chose to end her service to the Rebel Alliance ; her husband , Sergeant Kes Dameron , had already ended his service , and Bey wanted to spend more time with him and their son , Poe . While Skywalker took one of the tree fragments for himself , he gifted the second , which he had not expected to find , to Bey and her family , as he wanted to ensure that it had a proper home . Bey and her family settled on Yavin 4 , where she and Dameron planted the tree outside of their new home . Behind the scenes . The mission to Vetine was depicted in the 2015 Marvel comic book " Shattered Empire , Part IV " , written by Greg Rucka . The mission was based around retrieving a Great Tree that had once dwelled in the Jedi Temple . The tree was previously shown in the animated television series " " , beginning in the episode " The Wrong Jedi . " Rucka chose to use the Jedi Temple tree as he wanted Luke Skywalker to pursue a Jedi object that wasn ' t " just another holocron . "