If the piles end 1 or 2 levels under street level you may try to pass the horizontal forces to passive push in the corresponding wall. A thorough reexamination of model and path of loads might be required.
If just at ground level you can still count slippage against the friction of the soil if a mat on the piles, or some passive push against the pile caps, if embedded ... of course if appropriate and permissible, that might not be.
You may also try to pass the shear as pure friction, i.e., a coefficient of friction to be developed between pile cap and pile. That of course would be forfeiting entirely the customary practice and usual intent and detail in RC construction, but the mechanism could be considered just to have some other appraisal of what available. Then it might be considered, would the piles stand the applied friction forces? A dynamic coefficient of friction would need to be considered if from earthquake. Everything here adventurous since not really a friction mechanism present, but of shear, and no clear real surface available for the friction.