My Garmin Fenix 7x Pro did not accurately track sleep. I got up to go to the bathroom and then went back to bed, but it did not continue tracking sleep.

What can I do to make sure Garmin is still measuring sleep after getting up (for bio break or something else) and then going back to bed?