I have a problem with my factory fitted Electric off side window, it don't work

I have applied 12v directly to the motor and it just goes click, click, click.
I have been fighting with it all night trying to get it out of the door, I have seen some other messages on here that suggest that you can remove the motor without removing the gearbox etc but I can't find any details of how this can be done, has anybody done it because I have failed.
Any help or guidance most welcome at this point.
Andrew.