You need to 'delete all synced data' to remove everything first. The stuff from the old catalog remains online until you remove it. There's a button for this in Lightrom Sync in Preferences. This takes you online to Lightroom Web. Click on your profile picture, then Account Info. From there click Delete Lightroom Library.