Correct Way To Shutdown Loki

Hi All,
I wonder what is the correct way to shutdown loki? Currently I shutdown loki by kill -9 , but in cluster, this way will cause some issues.