How do I remove my iCloud account from my broken (which won't switch on) iPhone 5c?

How do I remove my iCloud account from my broken (which won't switch on) iPhone 5c.

My iPhone 5c has been dropped, it doesn't switch on. I have set up an older iPhone and transfer all back ups onto this one.
My question is this: I am now about to send the broken one off for repair, I need to remove the iCloud from it but can't turn it on to do this. Web has plenty of advice on how to do this but only when the phone works and is switched on.
Can't see anything on iCloud when I login from my Mac.
Any ideas?
Re: How do I remove my iCloud account from my broken (which won't switch on) iPhone 5c.

If you had 'Find my iPhone' active in it... Go to iCloud on computer, and set 'Find' to erase the phone when it connects to the internet again...that may happen as it gets repaired.

Original thread: https://forums.imore.com/threads/how-do-i-remove-my-icloud-account-from-my-broken-which-wont-switch-on-iphone-5c.322991/