If you are trying to attempt the hanging method, then it's not really recommended if other people are not too far away as they could interfere which would just lead to even more suffering.
It's so horrible to me how suicide is this difficult in this world, but sadly it's just the reality, I find it so cruel how we cannot just peacefully pass away without risks and complications, those who attempt the hanging method certainly are so courageous to me, as it just sounds so terrifying and risky to me, I think this method is especially difficult because of the survival instinct kicking in. But anyway I wish you the best, I hope that you don't suffer more by being locked inside the prison that is the psych ward.