How can I undo nvram recovery-boot-mode=unused if I don't know firmware password?
This depends on your hardware. Best bet is web chat with Apple to rule out any self rescue options as they will know exactly what to do for any sort of hardware. Also, they will be needed if you have to provide proof of purchase to get vendor unlock code.


https://locate.apple.com