Escape from Abafar/Legends

Around 20 BBY, the Galactic Republic's D-Squad attempted to escape from the planet Abafar so that they could return the encryption module to the Jedi High Council on Coruscant.

Prelude
Around 20 BBY, the D-Squad, consisting of droids R2-D2, QT-KT, M5-BZ, U9-C4 and WAC-47, lead by Zilkin Colonel Meebur Gascon, had a mission to Aut-O's flagship, in order to steal an encryption module from the separatists. On their way back to Coruscant, their ship encountered comets, and suffered severe damage, forcing them to crash-land on the remote world.

Finding Pons Ora
After a short discussion, the squad started a journey, in order to find a ship, or at least a town. Colonel Gascon emptied his bottle and threw it away. They found a wrecked ship with several dead bodies and destroyed droids. Gascon started to lose his mind, saying he would commit suicide when finding the bottle he threw away some time earlier.

With Gascon having tempers and WAC announcing himself as a unofficial leader, eventually the squad split into two groups: R2, BZ, QT and C4 continued their journey, while WAC stayed with Gascon. The Colonel was about to give up the hope, when a herd of bird-like creatures crossed their way. Following the instincts of the native animals, Gascon and WAC grabbed two of the creatures, which transported them to the city of Pons Ora, where the other members of the D-Squad were already present. Gascon was so happy he found a city (and water), that he made WAC a corporal.

Capture of the shuttle
Later on, the squad found Gregor, a Republic clone commando working in Pons Ora as a dishwasher who was suffering from amnesia, after going M.I.A at the Battle of Serrish. He couldn't remember him ever fighting in the Galactic Republic. D-Squad saw him as there only chance of escaping Abafar so they helped Gregor regain his memory and was recruited by them back into the Republic. He then later helped the squad to steal a heavily-guarded Separatist shuttle within a Confederacy of Independent Systems controlled mining facility to escape from Abafar and return to the Republic with the encryption module successfully, therefore completing the mission.