How could I make the end of this shape round like the rest?
Have you seen the sphere object in blender ?
If you have a flat plane at the top then you will have a flat top !
You can try the proportional editor.