stop screen session linux code example
Example 1: linux screen kill attached session
screen -X -S SCREENID kill
Example 2: screen kill session
$ screen -X -S [session # you want to kill] quit
screen -X -S SCREENID kill
$ screen -X -S [session # you want to kill] quit