Selling 2020 Nissan Leaf to Carvana to get out of it, in my case is worth the trouble?

But for example if I sell the car for 22300 ( carmax) I will have about 6k difference, 6k equals to about 8 months of payment of the car, and I will have a car that I can rent to turo or something for almost a year, because the car still have 17k miles ( 20k 24 months lease). I just feel like if I can’t do this deal, is just better to keep it and rent or do doordash or something and use all the 20k miles and return it to the dealer in the end of my lease