Sandisk Sansa Clip has ffrozen

On the screen it shows it is transfering music from my PC to the Sansa and it seems to have got stock in the middle of the transfer and it says Writing in orange.What would happen if the battery goes flat as I am unable to turn it off.