"Opposite" of .maximize (restore prior status)?

Hello.

With .maximize you can maximize (full screen) a widget.

Is there a way to also restore to the old prior default size?

I need to enable this functionality via a menu interface.