LO 5.2. How to disable the new toolbar having only close button?

After upgrading to Libreoffice 5.2 in Ubuntu, there is a new tool bar on the top with only one icon, ie close button in its right side. How to disable this toolbar?