Inspired by ysth’s comment
kill -- -PGID
instead of giving it a process number, give it the negation of the group number. As usual with almost any command, if you want a normal argument that starts with a
-
to not be interpreted as a switch, precede it with--