Keep hammering the spacebar. The escape is a repeated-input struggle, so tapping once will not do it, but continued presses eventually break you free.
Hold nothing back and mash it until the prompt clears.