Ummm that's kinda risky. First off you may have damaged the integrity of the case which could lead to a leak. But even more so you may have damaged the interior plates which could lead to all kinds of problems either immediate or down the road.
I would not chance it, like Dave said you may have internal damage, this would leave you stranded or worse a shorted battery can explode
If it were mine i would replace it in the bike but if the battery still held a charge i would keep it for the times i need a 12v power source around the shed
Brian