Recover a router after switching it off with a smart plug
Check how the plug behaves when the router cannot provide Wi-Fi.

Identify the control path
See whether the plug has a physical button or a documented local schedule that runs without internet. If your control app depends on the router you are switching off, turning the plug off can strand it. Confirm that you can reach the plug before trying anything.
Test while you are home
Plan a short maintenance window. Switch the plug off, use its physical button to restore power, and time how long the router takes to reconnect. If you want an automatic power cycle, verify that the plug stores and executes the on event locally while Wi-Fi is unavailable.
Keep remote recovery independent
I would use the router's own scheduled reboot if the model supports it. If you need remote recovery from a failed router, use a mechanism with an independent control path or require someone on site. Test what happens after a power outage, including whether the plug restores its previous state.