I just always used F8 to warp the camera back to my player and F7 to regain control, or i would bring up the admin menu, spy myself and regain control from there
This command should have a default keybind to go hand-in-hand with F7 and F8, like... F3 F6