Trapped in fastboot mode with locked bootloader and corrupted custom ROM

So, running that command where in the sequence prevents bricking?