Do you have the Julia extension installed? If not you should.
If it is the case, if you have a running cell for too long, the best way is to stop the notebook in the workspace like here, by pressing the red rectangle:
EDIT: there is a similar topic here: Can't restart kernel in VSCode jupyter notebook