If you want to fully restore your Mac to default settings, perform a factory restore. You can also undo some macOS customizations by pressing Undo after performing them, or follow the steps to redo the original settings.