For a Button object named grabMouse, use the following syntax to release the mouse capture
grabMouse.ReleaseMouse()