If your phone is unresponsive and won’t turn off, disconnect any cables attached to it, and attempt to remove the battery (if possible). Put it in a dry place with good air circulation, away from heat sources.