The bootloader of a Raspberry Pi 4 or 5 lives in an EEPROM on the board, not on the SD card, so a normal apt upgrade alone does not say much about it. There is a tool that compares and updates it.
The Raspberry Pi documentation shows the sequence. First look at the version the board runs now:
vcgencmd bootloader_version
Then ask the update tool:
sudo rpi-eeprom-update
Without -a I read it as a check. The docs say that the rpi-eeprom-update systemd service runs at startup and applies an update if a new image is available, so on a current system the answer is often “up to date”. To stage an update yourself, use -a and reboot, which is when it gets applied:
sudo rpi-eeprom-update -a
sudo reboot
The same page also lists -r and rpi-eeprom-update -h; the help output is where I’d read what the other flags do.
The warning goes first: this rewrites firmware. I would not do it with a flaky power supply, and I would not pull the plug during the reboot that applies it. Do it when the board is stable and nobody needs the machine for ten minutes.
The second caveat is that newer is not always needed. The documentation tells you to run sudo apt update && sudo apt full-upgrade before touching bootloader settings, because the update images arrive through the normal package system. If the report says you are current, leave it alone.
If a Pi has trouble finding its boot drive, an outdated bootloader is one of the first things I’d rule out, and the check takes seconds.
Further reading: Raspberry Pi documentation: bootloader update