Pull the ceiling fan wires from the ceiling. You should find your romex tied with wire nuts to the black and white wires. Take off the nuts, remove the ceiling fan wires, and reinstall the wire nuts. Then toss the entire fan into the trash and start over, if this what you were planning on doing.