Critical gzip mistake - how to undo 'gzip -r ./'

To undo this, use the opposite command:

gunzip -r ./

Note that the original gzip command will skip over files that already have a .gz suffix, because there's no point in compressing them twice. However, the above gunzip command will decompress such files, because it doesn't know that gzip skipped them.