Can’t boot to Windows, stuck on Grub BASH-like command line

I have installed Grub in Windows through bootcamp on a MacBook, to dual boot ChromeOS and windows .
However after repairing the hard disk in MacOS disk utility grub shows the command prompt interface and refuses get into the GRUB boot menu

It shows

minimal BASH-like editing is supported.for the first word, TAB lists
possible commands completions.anywhere else TAB lists the possible device or file completion.

When I type exit I get

grub> error exit command not found

Pressing Esc only starts a new line, while choosing Windows from MacOS Startup manager will freeze the screen.

This might be useful

grub> ls
(hd0) (hd1) (hd1,gpt3) (hd1,gpt2) (hd1,gpt1) 

How can I boot in to my Windows partition from this stage?