The game closes when I take off the Quest 2

Hi there,
I developed a game with UE4 on Quest 2 (PCVR) connected with the link.
The game closes automatically when I remove the headset from my face. Do you know how to solve this problem ?
How can I force the headset to stay on when the game is running ?
Thanks in advance.

Matthiew