If you have to hold the armature in a vice to free the nut, pad the jaws of the vice.
The most common reason for removing a dynamo pulley is to fit it on a new dynamo — most...