On the site, click Settings > Site Settings.
Under Search, click Search and offline availability.
In the Offline Client Availability section, select No.
To allow people to sync files again, set the Offline Client Availability option to Yes.
On the library, click Library Settings > Advanced Settings.
Note the sync setting set at the site collection level overrides the setting at the library level.