There is no undo, so if you're not sure, set the widget's Display Groups so only admins see it instead. See Widget Settings. Site Builder also backs up all your pages once a day. Tools > Backup Browser in the Site Builder module restores a backup, which puts back the whole layout as it was then.