havent done it myself, but uesp says:
Note: Using this command has unwanted side-effects. When no modifications are made to the player model (no sliders adjusted) and the race is left unchanged, all active magical effects will be lost, including racial powers like the Nord's Resist Frost or the Altmer's Fortify Magicka abilities. To avoid the racial mod being lost, simply move one of the sliders to a new position and back, or switch from the race you were/are to a new race and then switch back while still in the race menu; all racial powers will remain, but any active buffs will get removed except for any standing stone abilities like 'The Lady' or 'The Warrior'. When race is changed, the player's skills will be changed to reflect the new race and its specific racial skill start modifiers. However, the majority of the skills will get reset to their starting values. The player's Health Magicka and Stamina will also unfortunately be set to 100/100/100 (best used at lvl 1). In addition, if the player is a werewolf and changes their race and then transforms into beast form, upon changing back their body will be changed back to whatever race they were when they were infected, with the head invisible. Your player character will lose racial abilities and some perks. Racial abilities lost in this manner will be automatically recovered the next time a game is loaded from the Main Menu (not quickload). If the perk
Recovery was lost this way it will cease to function, even if it is removed and re-added.
Hope it makes sense.