Is there an undo for macOS window resizing?

Oh it’s selectable alright here, it just doesn’t do anything.

I guess I’ll report this as a bug.