Open iTunes and scroll down to the 'Preferences' option from the menu bar and then click on the 'General' tab. Here you can find the option to deactivate iCloud Music Library by unchecking the box next to 'Show Apple Music.'