You should first remove the database cluster registry entries using srvctl and then convert your db to non-rac using cluster_database=false and then you need to disable thread2 and drop undo2 (the redo and undo of the second instance)
The blog post in the following url seems explaining it ->
https://avdeo.com/2010/02/26/converting-a-rac-database-to-single-instance-database-oracle-rac-10g/However, if you want to remove the clustering software completely, then there are more things to do..