Yes the thoughts will go away, eventually..
Part of my particular Bipolar soup is I always have a underlying feelings and thoughts about suicide.. At times its gotta way out of hand and I have needed IP to stay safe.
My T tells me that having these thoughts are not that uncommon in some people with Bipolar.
You are coming right off a IP stay and your meds are still needing time to become more effective.. Its a lousy place to be in. One thing you can focus on is the only truth about Bipolar is that its always is going to cycle and your due to finding stability and baseline.. Take things day by day hour by hour or even minute by minute.. Do you have any structure in your daily life? Wake up at X time, then do XYZ.. Right now the best thing you can do for yourself is find things to physically do... You need lots and lots of distractions.... Can you think of anything you can do? My go to is cleaning and cooking.. When I am not doing well I must stay busy..
Stay safe