How to stop chkdsk in command prompt

Hello all,
earlier I started a chkdsk /r in an attempt to recover data from a hard drive that's starting to fail, and it's past the parts I needed it to do and is now looking for bad sectors that are empty and has been doing that for four hours now and I really don't want to run the HDD any longer than needed since it's starting to fail.

My question is, do I need to somehow stop the command or can I just close command prompt?

Thanks for taking the time to answer something that probably has an obvious answer