Mouse.end() not working

i tried this code

i thought my mouse cursor should not move.

but after Mouse.end() my mouse cursor is still moving.

or i am misunderstanding somethings.

Mosue::end does nothing:

void Mouse_::end(void)
{
}

majenko: Mosue::end does nothing:

void Mouse_::end(void)
{
}

Thank you very much. :)