I have been addicted to all sorts of depressant type medications which all help you sleep better, including ambien.
Ambien worked for a day or two and then stopped working but I continued to take them because I enjoyed taking them a little bit.
I find that excercise is a great excelerating in cleaning withdrawl out of your system, this might help you sleep.
Generally it should last 1-2 weeks, can be very nerve racking and make you irratable. You will have more time to do things, so maybe plan some things to do with your extra time not sleeping. Also you might try and do a reset after a week, don't sleep for a night and then go to sleep early next night. I used to do that sometimes and it works alright though sometimes if you stay up for too long it's even harder to go to sleep.
Anyways good luck, hang in there.
_________________
“It is better to offer no excuse than a bad one.”
― George Washington