If you put a ball in a box in outer space and gave it a shake, would it keep bouncing forever?

Update: I do not know the real answer,but there have been so many brilliant responses. I honestly cannot give a best answer,
23 answers 23