it’s not like you can just close down a station
It’s pretty much like that, then like someone else said you provide a bus route between the two stations. It's an inconvenience but has to happen at some time.
For smaller repairs like painting you an paint half of the station while keeping the other half operational, then finish the job some days later.