I think you have to consider, what do you gain or lose from telling the psychiatrist these thoughts? What outcome do you want once they are aware of that information? Would the end goal be to get started on a different class of medications, or get referred for a certain type of therapy?
I think it would be easier to articulate that your condition has deteriorated and something needs to change in regards to the treatment you're receiving, rather than risk getting an involuntary prison sentence in psych jail where you will have no freedom or bodily autonomy. I don't say this to be callous, but the vast majority of psychiatrists are far more concerned about potential liability than they are actually helping a client.
Once they hear certain "crisis related" buzzwords, it sends off alarm bells in their heads and they will start to worry about the hit their career will take if they have a suicidal patient who candidly admits to their ideation and feelings, and goes on to do any act of self harm. They do not want to be held responsible, which is why they employ punitive measures like forced hospitalisations rather than taking into account what their client wants, their circumstances, and w hat would actually help them.
These professions operate under the framework of beurocratic procedures and guidelines, rather than holistic approaches which consider your comfort and stability. It is unfortunate, but they are bound by law to use forceful measures once their subjective judgement has deemed an individual as a harm to themselves. This varies a lot by country and institution, with some places like the USA having laxer guidelines for detaining suicidal people compared to countries like the UK where it is more of a last resort.
I think it saves a lot of heartache, pain, and potential trauma to know exactly what you want out of these types of services, acknowledging what they are able to provide and what they aren't. If rapid medication changes are what you think would help, I would emphasise that to your psychiatrist instead, because in a ward the patient has essentially no say in the medications they are given and often times these changes can be very harmful as unpleasant side effects are attributed to one's "condition" and not the sudden paradigm shift in drugs that the patient is subjected to.
I hope that you're able to find anything that helps you, and can express your pain in a way that doesn't result in forced sectioning. I have seen a lot of people go into wards much worse than they go in, and psychiatrists do not understand how unproductive and cruel it is to take away someone's bodily autonomy rather than just listening to what they have to say.