Use Cmd + Shift + D to toggle the DevTools dock state between the last two recently used states. Dock options are: