Choose a beta IPSW for the MacBook Pro (14-inch, M5, 2025)
MacBook Pro (14-inch, M5, 2025) has 45 beta and 19 official macOS firmware builds available. The newest is macOS 27.3 beta 3 (26C5056a), released , and Apple is currently signing 42 of them, so you can still restore to them.