Trapped in my lease. Recall is preventing buyout.

I have 2 weeks left on my lease. I went to the dealer to buy the car and they said they can’t sell it because a safety recall. Even though it’s on the charge cord their system in California is preventing it.

Has anyone dealt with this? I called the ev help line and they are calling me back next week. I’m hoping they will extend my lease till they figure it out.