How to stop the plugin without access to the admin console?

When admin console disable to access, ex, 500 error.
1. Access to the server and find the plugin directory.
2. Rename the plugin directory name.