If your MacBook Pro restarted successfully after the manual restart and macOS 27.0 is now functioning normally, I would not reinstall macOS simply because the progress bar appeared to freeze near the end.
A macOS installation progress bar does not necessarily represent a continuously measurable percentage of the installation. It can remain near the end while the system is completing additional installation, configuration, migration, or cleanup work.
Therefore, the fact that the bar appeared to stop just short of the end does not, by itself, establish that the installation failed.
The more important question is what happened after the restart. If the Mac booted normally into macOS 27.0, your user account and applications are available, and the system is behaving normally, those are useful indications that the upgrade completed sufficiently for the Mac to operate.
I would check System Settings >> General >> Software Update and confirm that macOS reports that the Mac is up to date.
I would then use the Mac normally for a while and check the applications, documents, peripherals, Wi-Fi, sleep/wake, and other functions that you regularly use.
I would not erase the Mac or reinstall macOS merely as a precaution. Reinstalling an operating system that is currently functioning normally introduces another installation process without an established problem to fix.
If the Mac subsequently becomes stuck at the Apple logo or progress bar, repeatedly restarts, displays an installation error, fails to reach the login screen, or develops significant system problems, that would be a different situation. At that point, Apple's startup troubleshooting and macOS Recovery procedures would be appropriate.
It is also worth making sure that you have a current backup before and after major macOS upgrades. If you use Apple's Time Machine, it can back up your files and can be used to recover lost items or previous versions of files. Apple explains how to set up and use Time Machine here: Back up your Mac with Time Machine.
Apple also explains how to restore individual items from a Time Machine backup here: Restore items backed up with Time Machine on Mac.
For future purposes, if you have irreplaceable data, consider having a 3-2-1 backup strategy: three copies of your data, using two different types of storage or backup methods, with at least one copy kept off-site. An off-site copy provides protection against events that could affect both your Mac and locally attached backup drives, such as theft, fire, flooding, or other disasters.
Using dedicated external drives for different backup purposes can make such a strategy easier to manage and reduces the possibility that a single problem will affect multiple copies.
The important point is that the backup copies should be sufficiently independent that losing the Mac or one backup device does not also eliminate your other recovery options.
Time Machine can form one part of that strategy. Another option is Carbon Copy Cloner from Bombich Software, which provides additional backup and snapshot capabilities and is currently listed by Bombich as fully qualified for macOS Golden Gate.
Carbon Copy Cloner
Carbon Copy Cloner can schedule backups and provides additional options for monitoring and verifying them.
How to schedule a backup — Carbon Copy Cloner
In short, because your Mac is currently functioning normally, I would not reinstall macOS 27.0 solely because the installation progress appeared to freeze near the end. I would verify the installed version and update status, use the Mac normally, and make sure your backup system is current.