You must stop the Administration Server before you remove DB2 products.
To stop the Administration Server:
. INSTHOME/ sqllib/db2profile (bash, Bourne, or Korn shells) source INSTHOME/sqllib/db2cshrc (C shell)
where INSTHOME is the home directory of the instance.