Would you consider suicide as a solution?
A big NO...., suicide is not a solution, it creates more problems.
Which tools given in Dhamma do you think would be useful if one had to survive
Buddhism teaches us consequences for our each action,
For example if you hate someone, that person won't even know that you've hated him/her unless you told, but if you hating someone else and it isn't hurt them or do bad for them, it's really bad for the person who hate. Because hater's mind is impure, and it count as bad Karma.
When you collect bad Karma for long time, and suddenly die, while do the another bad Karma, there's high probability of being reincarnate in one of Four Hell(Animals, Pretha, Asura, Hell). And that's the danger of reincarnation. And those four places has lot more Pain, Suffering than human world, it's unimaginable.
" Imagine while four muscular guys hold your hands and legs and another two of'em rip your body apart with a saw, and no way to survive, And advice for the person who getting hurt is not to hate those six guys, being nice them. " And this is a allegory for Meththa.
So if someone think those accordingly and believe that's it truth, no one would do any bad things, And i think that is the best Motive for the survival of such situations.(If you follow and believe Lord Buddha).
I hope this would help.