If it's a regular maintenance, it should be working out if you setup a schedule accordingly.
However if it's a small hotfix patch or major one, you'll need to re-auth ToS... And that's not possible to do by any of the used applications yet - You have to agree manually. Yar will go into cooldown mode when this happens, as if it was a server downtime.