If your Mac freezes while you are performing First Aid on an external disk drive, your best bet is to force quit by holding down the power button for around 10 seconds. Consider rebooting into safe mode when you come back up to verify everything is operating smoothly.