How do I level a pipe with the ground?
One of those oscillating tools would be perfect for this.



But before cutting it you might want to figure out what it's for, and if you'll need it in the future.  Cutting the pipe should be fairly easy; but if you ever have to, making it longer is more difficult.