As discussed in this thread, you have ten days after buying out a lease in California to sell the car and avoid paying sales tax. California 10 day tax exempt For lease buyout
Whether you can actually get it done within 10 days is a different matter.