If you’re looking to undo the changes, you can go to a sidebar folder that’s currently being organized, scroll down, and hover over the recent file moves. You should see an option to undo changes right there.