Although you only used it for a short time, people are different in how they respond to quitting -- it should be done gradually even after short term
use if that
use was continuous as opposed to as-needed occasional use. Don't know anything about Sonata, but all sleeping pills can be habit forming.