Hi,
I'm Rodrigo and I'll help you.
Right-click the OneDrive icon on the right side of the taskbar > Settings > Sync and backup > Advanced Settings > Files On-Demand > Download all files.
This will download all your files to the computer.
After downloading all files, on "Sync and backup", select "Manage Backup" > Turn off all options.
This will restore your folders to the default location, but it doesn't move your files.
After turning off the options on "Manage Backup", go to "Account" > Unlink This PC > Unlink account.
Your downloaded files are in the OneDrive folder, located at C:\Users(Your User Name)\OneDrive. After moving the files, you can delete the OneDrive folder and uninstall OneDrive on Settings > Apps > Installed Apps.