About a decade ago, my doctor prescribed me Klonopin for sleepwalking. 0.5mg daily.
After two or three months I discontinued it. He suggested to just stop, but I thought better of that, tapering through 0.25mg and 0.125mg. What followed was weeks of unrelenting insomnia and headache.
I wouldn't recommend.