That does not revert the resized output, it scales the new output size to fill the preview so it has no effect on the actual output. To revert it, you have to remember what settings you used and set the previous canvas resolution in settings / video (usually this will be 1920x1080 or whatever your monitor's resolution is).