VirtualBox upgrade on macOS

Upgrading VirtualBox on macOS disabled to run VM. This was because of security setting of macOS. The following steps perhaps worked:

  1. Reboot macOS
  2. System Preferences -> Security & Privacy
  3. Unlock and pushing some button around "Allow apps downloaded from:" and macOS is automatically rebooted.

Then it started to work.