Question: how to get out of safe mode using cmd?
Answer: Open Start.
Search for Command Prompt, right-click the top result, and select the Run as administrator option.
Type the following command to disable Safe Mode on startup and press Enter: Bcdedit /set {bootmgr} displaybootmenu no. ... 
Restart your computer.