An attempt to roll back pending federal rules and preserve higher debit card swipe fees came within six votes of passage, ensuring that the long-running battle will continue.

 The Senate left in place pending federal rules that will cap the fees charged by banks each time a consumer swipes a debit card, ending for now a fight that rekindled populist fervor against Wall Street.

But the attempt Wednesday to roll back the regulations and preserve the higher fees came within six votes of passage, ensuring that the long-running battle will continue.