By default, the toolbars are 'locked' in position. CTRL overrides the lock. If undocked, just hold down the CTRL key while dragging to the desired location. If turned off enter the COMMANDLINE command and it will be turned on again. To unlock/lock toolbars/windows, right click on the padlock icon in the lower right of the status bar and uncheck any of the options (or select from the ALL options).