I still see some green parts on the stem..so it can be saved..just do as Hetty suggested.
But you may want to move it away from the window after you do it. It is getting too cold. It may take awhile since it is cold season, but it will come back eventually. Be careful with watering on the cut off parts, just damp moist soil, not heavy watering, till new growth appears, otherwise it may rot at the soil line. I find this plant actually likes to be on a drier side most of the time.