...
- Set the FEDORA_HOME environment variable back to the original value ($ORIG_HOME)
- Run $CATALINA_HOME/bin/shutdown.sh (%CATALINA_HOME%\bin\shutdown.bat if running Windows)
- Run $CATALINA_HOME/bin/startup.sh (%CATALINA_HOME%\bin\startup.bat if running Windows)
- Check $FEDORA_HOME/server/logs/fedora.log for any sign of errors at startup.
- Try some queries on the /fedora/search and /fedora/risearch web interfaces and make sure they behave as expected.
Re-enable writes
See How do I turn off API-M access?
Clean up
You can now safely remove the original database and/or resource index data to recover disk space. You can also remove the $TEMP_HOME directory.