In retrospect, had they realized that Carrie Fisher would not be around for Episode IX, they probably would have had her make the decision to stay with the ship. And that would have made what was the best visual of the trilogy also the most meaningful had it been Leia to make the sacrifice.