Yes, a person can withdraw their consent to a search at any time before the search is completed. It is important to note that withdrawing consent will generally stop the search from continuing, but the items that have already been discovered may still be used as evidence in court, provided that the search was legal at the time it was conducted.