Below are the steps to deinstall or cleanup oracle standalone grid infrastructure setup.

1. Login with grid owner and ( i.e oracle or grid).

export GRID_HOME=/oracle/app/oracle/product/12.1.0.2/grid
cd $GRID_HOME/deinstall

2. Run deinstall tool

cd $GRID_HOME/deinstall

./deinstall

Run the mentioned script from root from a different window.

 

When root script execution is done , you can press enter on the first screen, which will resume and complete the rest of the activities.