Thorough cooking can kill salmonella. While it's always a good idea to rinse fruits and vegetables, it may not get rid of salmonella, particularly during an outbreak. Further, when health officials warn people not to eat potentially contaminated food during an outbreak, that means you shouldn't eat that food, cooked or not.