Can restore be canceled

Good day!

I would like to ask if there is a way to cancel a restore task. I’m currently in “scanning for local blocks” and I’m not certain if this is going somewhere. So I’d like to cancel and maybe run a restore without the local block. Also in that regard how can I run restore without the scanning of local blocks. Any help would be highly appreciated.

Thanks in advance.