All you need to do is to close the window with red X button on the top left, or with cmd+W.
If you do not want to see the icon of the app in the dock, you can disable "Show in Dock" at Preferences / General. Then you can easily access the app from the menu bar.