Unsure what you mean by replacing it, but you can remove a circuit from the board by right-clicking it.