I've been experimenting with MikroTik wifi lately, and there is a handy config option that has helped in this sort of scenario: configuration.manager=capsman-or-local
The docs are sort of poorly worded about what this does, I think:
capsman-or-local - the interface will get configuration via CAPsMAN or use its own, if /interface/wifi/cap is not enabled.
I've found my cap actually falls back to a pre-configured local configuration, if I reboot or remove the unit running capsman, when this is set on my cap. Obviously the local config basically matches the capsman config, so that the ssid/passphrase/etc lines up and clients will connect. Here are the some example log entries from a remote cap (wap ax), when I rebooted my capsman (another wap ax) on purpose, showing time intervals involved:
2025-09-10 22:37:41 caps,info disconnected from wAP-ax-1@my:ma:ca:dd:re:ss%*6, failed to connect
...roughly 13 seconds later, clients are reconnecting to cap (wap-ax) running the local configuration options...
2025-09-10 22:37:54 wireless,info hi:ac:li:en:tm:ac@wifi1(ssid) connected, signal strength -65
Once capsman had rebooted, about 30 seconds later, the cap reconnected to capsman and was re-provisioned again, seamlessly:
2025-09-10 22:38:25 caps,info selected CAPsMAN wAP-ax-1@my:ma:ca:dd:re:ss%*6
2025-09-10 22:38:25 caps,info connected to wAP-ax-1@my:ma:ca:dd:re:ss%*6
Besides the 13-15 second "dead time" while AP falls back to local config and re-provisions, it's actually been quite handy for maintenance windows and testing. My wifi stays up, even with no capsman present, so long as I take the time to pre-set a local configuration and change that manager config option.