How to make the cylinder top match and align the ground surface

Hello Everyone
How do I make the cylinder top face to align the angle at which the ground is like you can see in the image below it should not vanish inside the ground or to high above the surface intead maintain the surface level.