Sen Willam L. Scott (R-Va.) called in sick yesterday, apparently ending his voting career in Congress.

Scott, who is retiring at the end of this term, told an aide he was suffering stomach pains and that a physician told him he needed rest and relaxation.

Acting on that advice, Scott, who is one of the most traveled members of the Senate, left on a auto trip with his wife, Inez, saying he would return in a week or two.

With the 95th Congress aiming for adjournment on Saturday, Scott apparently will miss the finals days of the session, and votes on the compromise tax-cut bill and other last-minute legislation.

Scott, 63, who suffered from an ulcer several years ago, began complaining of stomach pains last week as he worked long hours as floor manager for opponents of the bill that extended the deadline for ratification of the Equal Rights Amendment.

An aide said Scott visited Dr. Freeman H. Cary, the staff physician at the Capitol, late last week and had an appointment yesterday at Walter Reed Army Medical Center. A spokesman at the hospital confirmed that Scott had an appointment, but said records there indicated it had been canceled.

Scott went home Tuesday night after voting with the majority as the Senate passed its version of the tax cut by a vote of 86 to 4.

His decision not to return apparently was made after he left the Hill sometime after 7:30 p.m. Tuesday. The offices of Senate Minority Leader Howard Baker, and MInority Whip Ted Stevens were unaware yesterday that Scott was not going to return for the rest of the session.

Scott had said earlier he would not be available to campaign on behalf of John W. Warner, the Republican nominee who hopes to succeed him, because he and Mrs. Scott had planned a vacation motoring through the Western states as soon as the Senate adjourned.

Scott made two appearances with Warner last week, at a $100-a-plate fund raiser at the Twin Bridges Marriott in Arlington, where the retiring junior senator got a standing ovation, and on Sunday, with former President Ford in Fairfax.

Warner's Democratic opponent, former Virginia attorney general Andrew P. Miller, has attempted to portray Warner as "Bill Scott's country cousin," and in a speech earlier this month, urged Democrats to unite in rescuing the state from what he called "the embarrassment of the past six years," as he characterized Scott's tenure.

Warner responded to Miller's blast by saying, "Senator Scott is not an issue in this campaign."

Throughout the campaign, however, Warner repeatedly has been asked his opinion of Scott, and especially of Scott's visits to 38 foreign countries at taxpayers' expense.

While Warner generally avoids talking about Scott, he said on Sept. 30 that, "I would take certain trips . . . but it's not likely I'd have to do a great many."