Mouse captured within Form on IDE

I have a situation where the mouse is stuck within the Form I am working on (Datamodule) once it is captured there I have to ‘End Task’.
Has anyone come across this issue, any suggestions appreciated.
Regard,
Vince Dent