Don't go any further, it's really easy to fix, I had the same issue yesterday.
Just try this:
- Download the latest TWRP image
- Launch it from RAM: fastboot boot twrp.img
- Now, try to flash whatever you need to!
- Reboot, and the motherboard will be put out of fastboot.