12-year-old released from hospital after shooting