Who hasn’t been in the situation where you have to make changes to a Cisco devices that you do not currently have physical access to. Fun and games until you fat finger something and lose access to the device.
An easy way around this is to schedule a reload of the device before you start making changes. That way if something does go wrong the device will reload and come up as before. Of course if the reload is not required you can cancel it. Below is the steps needed to achieve all that.
Cisco_Switch#copy run start
Destination filename [startup-config]?
Cisco_Switch#reload in 015
Reload scheduled in 15 minutes
Proceed with reload? [confirm]
*** --- SHUTDOWN ABORTED ---