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