How did darth maul survive

After Maul defeated Jedi Obi-Wan Kenobi, he went into exile to Lotho Minor, saving parts of his droids to create an online leg team. … Maul’s ultimate online legacy Maul After losing those legs, Maul was revisited by the new legs by the Death Watch.