To Unlink OneDrive:
You won't lose files or data by unlinking OneDrive from your computer. You can always access your files by signing in to OneDrive.com.
Windows
Open OneDrive settings (select the OneDrive cloud icon in your notification area, and then select the OneDrive Help and Settings icon then Settings.)
Go to the Account tab.
Select Unlink this PC.