Yes, it can be annoying how the macOS installer work.
If your laptop can boot normally, then the macOS installer should be located within the Applications folder and be called something like "Install macOS Mojave". You can also use Spotlight to search for it. If the installer is no longer on the Mac, then download it again using the link in the following Apple article. If the installer is still within the Applications folder, then you can create a bootable macOS USB installer using the instructions in this Apple article:
How to create a bootable installer for macOS - Apple Support
If you have to download the installer again, then make sure to be present when the download is about to finish so you can quit the installer before it automatically begins installing & reboots the Mac.
It is also possible to download the installer using the command line by using the information in this article:
https://osxdaily.com/2020/04/13/how-download-full-macos-installer-terminal/
Personally I would add the "-d " option for "download only" just to be safe. So it should most likely make the final command:
softwareupdate -d --fetch-full-installer --full-installer-version 10.14.6
You still need to follow the instructions to create a bootable macOS USB installer once the installer app has been downloaded.
I also highly recommend once you boot the macOS USB installer, that you launch Disk Utility. Within Disk Utility click "View" and select "Show All Devices" so that the physical drive appears on the left pane of Disk Utility. Select the physical drive which will usually be identified by the drive's make & model (or perhaps the USB chipset if an external drive) and erase it as GUID partition and APFS (top option). Quit Disk Utility and select "Reinstall macOS". Keep in mind this process destroys all data on the drive.