People believing that they are in Virtual Reality and the only exit is a suicide will probably do it in the hope that the simulation will end.
At first it will be done just in VR but after some time people will probably do it in reality.
Doctors will try to find ways to prevent this, using the huge number of information’s they will get from the patients, from all those sensors around them and in them.