Softlock moving ships when ship count is zero

Whenever I try to move ships in Konqueror, and the origin planet’s ship count is 0, I am effectively soft-locked. I can’t move ships, nor exit the “How many ships?” number selection. I am sure that there is probably an easy way out, but I haven’t found it.

Thank you.