You close a Widget by control-clicking it in Apple OS X or right-clicking it in Microsoft Windows and choosing Close Widget.
If you can't get the menu to appear on a particular Widget, follow these steps: