First, to avoid damaging the file system, be sure to close the file thread before remove the card. Then, on an electric way, the safest way is to unplug the USB or push the reset button. But SD cards are hot plug ready, so normally, there is no problems on this side.The first point is the most important.