Hi @john john ,
You can un-sync a SharePoint document library via the following steps.
- Click on a little blue cloud icon in your computer’s taskbar
- From the pop-up that appears, click on Help & Settings -> Settings
- On the next screen, you will see a list of all the places you synchronize. To un-sync, just click on Stop Sync next to the location you want to stop synchronizing.
Files in the local OneDrive folder will be automatically deleted after un-sync. Absolutely, they won't be deleted in SharePoint document library.
If an Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.