If it restarts back into the shell, your system likely has the wrong "Boot Priority" set in the BIOS/UEFI settings.

If your motherboard does not have it built-in, you can easily run it from a USB flash drive. Step 1: Format Your USB Drive

You can generally resolve this by adjusting your BIOS/UEFI settings:

Perfect for troubleshooting broken bootloaders.

Because it is free, you should for a download of the EFI Shell. Be highly cautious of third-party websites claiming to sell or provide exclusive access to "EFI Shell version 2.50 free download" bundles, as these often contain malware, adware, or outdated, modified binaries that could corrupt your motherboard's firmware. How to Safely Obtain and Install UEFI Shell 2.50

The EFI Shell is a pre-boot environment that allows developers, system administrators, and enthusiasts to interact directly with hardware and firmware. Unlike the old legacy BIOS, which relied on primitive interrupts, UEFI acts as a mini-operating system.

Navigate to the official TianoCore EDK II release repository on GitHub.

Navigate to the official EDK II releases or the edk2-binary repository.

Select your USB drive from the list. Ensure you select the option prefixed with "UEFI:".