Not sure how the pointer is handled in VR - if it's similar to the regular mouse cursor in Unity, there are ways to lock/unlock and show/hide the cursor.
E.g. schematics have Change Cursor State and Change Cursor Visible nodes to manage that for the mouse cursor.
If VR uses the same functionality, you could add an open schematic to your menu to show/unlock the cursor and a close schematic to lock/hide it again.