Even taking it off the market induces huge Ellis Act compensation obligations.
Indeed. A few years back SF passed a law that the landlord had to pay the difference between the current rent and market rent (on a new place) for two years.
That could easily be $50-60k or more.
Thankfully the courts struck that law down.
As a landlord in SF you lose a lot of rights to your property.