inoremap
inoremap
inoremap
inoremap
noremap
The code you have posted should not disable history navigation in command line mode, are you sure you don't have cnoremap or noremap! somewhere? Try verbose cmap it should show you whether key is redefined for command line mode.
If when saying «command bar» you meant command-line window, you could try the following:
nnoremap ((bufname("%") is# "[Command Line]")?("\"):(""))