I'm updating my iPhone and it has been updating iCloud settings for hours. What do I do now?

I'm trying to update my iPhone and I'm stuck in "updating iCloud settungs" for hours. I checked my wifi and it seems to be ok. How do I get out of this and try to finish the update?
you tried turning the device off backin up with itunes n download it again via itunes?

Original thread: https://forums.imore.com/threads/im-updating-my-iphone-and-it-has-been-updating-icloud-settings-for-hours-what-do-i-do-now.380871/