Using the command line interface (CLI) : execute : execute shutdown
 
execute shutdown
The execute shutdown command allows you to shut down the FortiDB system. This command will disconnect all sessions.
Syntax
execute shutdown