In the same way we can use the command line and Drush, we can also use Drupal Console to clear or rebuild the cache. With a Terminal window still open, we can enter the following command:
drupal cache:rebuild all

With multiple ways to clear the cache, we should be able to perform this task regardless of whether we are within the UI or are using the command line.