Dealer won’t take it back or swap you out of it unless it has equity which a recent Nissan lease probably does not (given that many of the deals are predicated on an above market residual).
You also can’t easily transfer out as you’ll remain liable on the lease contract regardless. But perhaps if you fine someone who you trust and are effectively ok to to co-sign for. Well that’s one option.
Given it’s a Nissan EV, that’s LEAF or Ariya. Chances are it’s a great payment deal, but no go on equity.
You can “transfer” a Nissan lease to someone else where they take on your payments. However, Nissan will keep you on the lease, so you are liable if the person you transfer it to doesn’t pay, doesn’t have insurance and wrecks the car, etc. it’s risky and probably not a good idea.