It sounds like the root problem is not being able to leave the house.
Do you know anyone who can escort you? Furthermore, "leaving the house while suicidal" isn't a crime. You're a legal adult, so unless there are measures in place the cops can't force you to do anything. Even if they can bring you back, you can probably set some stuff up before they find you.