A daylong standoff at a small-town Virginia post office ended peacefully with three hostages being released and a suspect who came out of the building in a wheelchair in custody, police said late Wednesday.