… Empire would end a bit like this.
Luke disembarks on the rebel command ship only to face a firing squad. He went AWOL in wartime to pursue a spiritual quest, handed his fighter to the enemy, and then gave the co-ordinates of the fleet to a known imperial collaborator.
Leia saves him by pointing out that executing the hero who blew up the Death Star would smash the morale of the rebel fleet. Mon Mothma relents and allows him a proper court martial.
Half the jury see Luke as a kind of messiah, half want him pushed out an airlock. Tensions within the fleet threaten to tear the rebellion apart. Just as sentence is about to be passed the empire attacks.
Luke manages to redeem himself by saving the fleet. Mon Mothma agrees to spare him on the condition that he stand down as Rogue Leader.
Meanwhile, everyone suspects Lando sold them out to the empire. Nobody suspects the true culprit, Threepio, who fell for the imperial propaganda line that droids would be granted citizenship under the empire’s rule. Artoo wipes Threepio’s memory to protect him.
There is no proper conclusion, and a bunch of intriguing mysterious stuff happens which is never properly explained.