CKEditor toolbar can be collapsed and restored by using the Collapse Toolbar button located in the bottom right-hand corner of the toolbar (for RTL languages — in the bottom left-hand corner).
If you want to disable the this feature, you need to set the toolbarCanCollapse parameter to false
.
config.toolbarCanCollapse = false;