My camera is lost in blender

Alright, so I was working on my project, and when I decided to move my camera, they teleported to the abyss, I spawned a plane but it seemed to be too far from anything for me to render it. I looked at it’s dimensions and… the plane’s dimensions were:
1.0570043e+13 light years.
I’m not even kidding.
Is there a way to reset my actual viewport’s camera to the origin?
Because without knowing what to do I’m stuck.

  • Ctrl+S --> Cursor to Center(2.79) / Cursor to World Origin (2.8)
  • Select the camera from the outliner tab
  • Ctrl+S --> Selection to cursor

there is a shortcut ‘alt+G’ to reset the postion of selected objects

True dat, I forgot.

Another way is to:

  • Select the camera from outliner
  • Open transform panel (N)
  • Set xyz location to 0.

Sorry, I meant that my viewport was lost in the abyss.
Also, at the time I couldn’t set the position of the camera.

View > Align View > Center Cursor and View All

Shift + C (Shortcut)