Manager Gary Waddock has not ruled out brining the 36-year-old back once he is back to full fitness.
He told the official website: "I would love to keep him longer term and we'll see what develops when he recovers.
"I would like to thank him for all his efforts during his stay with the club.
"The impact he had in only a short spell was fantastic and he gave everyone a lift. He played his part and we wish him a speedy recovery."