The governor isn’t closing the door on giving the mayor the boot. State and city law lay out a process for doing so.