How can I clear pending iCloud Downloads?

From this article:

Click the Apple icon in the upper left corner of your Mac's screen.

Click System Preferences in the drop down menu.

Click on iCloud.

Click on Options next to iCloud Drive.

Click to uncheck the checkbox for Desktop & Documents Folders.

Alternatively, try signing out of iCloud.