See Edit > Preferences > Toolbox > Appearance > Use tool groups and the Menu mode setting right below it.
You can also reconfigure the toolbox groups in the Tools Configuration widget below this: make different groups, keep some tools that you use often as non-grouped, etc...
You can also reconfigure the toolbox groups in the Tools Configuration widget below this: make different groups, keep some tools that you use often as non-grouped, etc...