The agent uses the db2gcf program to stop a DB2 database partition. For a database with only one partition, it stops the instance. The command is:
# su $DB2InstOwner -c "$InstHome/sqllib/bin/db2gcf -d -i\ $DB2InstOwner -p $nodenum"
The agent can also use the db2stop command to stop all DB2 partitions.