Stop syncing a library with the OneDrive for Business app
If you’ve synced OneDrive for Business or a SharePoint site library to folders on your computer, you can stop syncing these folders at any time. When you stop syncing a folder, you disconnect the folder on your computer from the library on the server. You can always sync the library to your computer again.
Why stop syncing a library?
Usually, you stop syncing when you no longer need to sync updates between the folder and the library on the server, or because you’ve completed a project. If something goes wrong with the connection between the folder and the library on the server, you can often fix the problem by stopping the current sync relationship, and start syncing the library again, as if for the first time.
Note: If you’re having sync problems, you can also run Repair. Repair disconnects and reconnects all libraries you’re currently syncing.
You can also pause syncing a folder. This allows you to temporarily stop syncing a folder without disconnecting it from the library on the server. You might pause syncing if you don’t want to use your system resources for syncing at the present time. You can resume syncing at any time.
Syncing a OneDrive for Business library is a function of Windows and the OneDrive for Business app, and is specific to your computer. You can only pause and stop syncing from your local computer, not from the online app.
Once you've stopped syncing a set of files, you can delete them from either your local computer, or from OneDrive for Business. If you delete a file from OneDrive for Business online, and then sync again, that file will be deleted from your local computer.
You can stop syncing a library, but not individual files or folders under that library.
Learn more about syncing libraries on OneDrive for Business here.