This question already has an answer here:
A per the Community Wiki description,
The original author keeps the reputation gained (or lost) before their post entered community mode.
The original author can flag the post to moderator attention for re-convert the C.W to normal post, the moderators will take action on that.
If the Community Wiki status of a post is reversed, what will happen to the reputation of votes (Up/down) gained by the post at during its time as a Community Wiki?