People get committed only in extreme cases (extremely suicidal people, for example). If you don't go to that extent, I don't think you'll be locked up. If you do feel that bad, though, I think being committed might be the safest option for you.. be strong, you can do this.