Restore panel in ubuntu

Well, this was funny though, but today I messed up the top panel of my desktop 😛

So, a little search gave me some results and which actually worked for me. Just few lines of commands gave me the top panel back again.

$ gconftool-2 --shutdown
$ gconftool --recursive-unset /apps/panel
$ rm -rf ~/.gconf/apps/panel
$ pkill gnome-panel