After more than 15 years covering everything Apple, it’s with a heavy heart we announce that we will no longer be publishing new content on iMore and the iMore forums will be closing as of November 1st, 2024.
How do I turn off or stop an iCloud Drive upgrade?
Since you didn't state, I'm going to 'assume' you're referring to the iPhone. Anyway, go to Settings - iCloud - iCloud Drive and then disable the toggle next to iCloud Drive.