How to reactivate frozen keyboard ?

In some situations keyobard freezes when working with IntelliJ. It happens mostly when we switch very quickly between tabs.

One of solutions consists on starting new Intelligent Input Bus deamon with following command:

ibus-daemon -rd

r flag indicates that new process should replace the old one while d means that the deamon should run as a background process.