To shutdown pg_ctl immediately

Sometimes it doesn’t listen to the command pg_ctl stop, the following option can be used:

pg_ctl stop -m fast

or

pg_ctl stop -m immediate