What are the best practices in configuration management?

It happened that I need to test a new configuration. Unfortunately I don’t have a spare router and have to test it on my home router.
So I decided to create a new lan, new ap, dhcp server, etc. And in fact it was quite easy, I just copied my existing network configuration, changed it a bit and executed script. After that could edit configuration in WinBox. But now I noticed that it is very painful to undo the changes. I need to find every config line in script in WinBox and delete it. The whole network configuration is spread between many windows and it’s really hard to find everything and delete it. So as for me it’s really much easy to create a new network than delete it!
The fastest way I found by now is reset while specifying initial config. But the router doesn’t reboot instantly and all this time all my devices lose connection.
Probably there is a better way to manage configurations without rebooting and without WinBox?

https://help.mikrotik.com/docs/display/ROS/Backup
I don’t use above feature. I suggest a careful read and consult others with questions.
My reading suggests a load from prior save will rollback to save point after a reboot.

When I am tinkering with my lab setup, I always make a binary backup and config export (use show-sensitive !).
Both files then get downloaded from the device for safety.

Afterwards, when I am done or when I really messed up, I can simple restore form the binary backup, reboot and nothing happened. Takes less then 2 minutes.