The toolbars (and any menu bars) are originally docked. You can undock them and move them to another location on the screen (e.g., the bottom, or to the right of the graphics pane) by grabbing the docking grab bar at the left (or top) of the toolbar/menu bar and dragging it to the desired location:
If you drag it to the edge of the window it will dock itself at that edge (otherwise, it will float). Note, however, that you cannot dock a toolbar on the left side if the window. That is, you can only dock at the top, the the right, and at the bottom (above the status bar).
You can also undock a toolbar or menu bar (and turn it into a floating window) by double-clicking on the docking grab bar.