We investigate the unhindered gravitational collapse of a homogeneous scalar field with nonzero potential, a two-dimensional analog of the Mexican hat-shaped Higgs field potential. We prove that the density dependence on the scale factor cannot be expressed as an algebraic function in such a scenario. For a certain transcendental expression of the density of such field as a function of scale factor, we then show that the collapse evolves to a singularity at an infinite comoving time, which is equivalent to saying that the singularity is avoided altogether. An ultra high density region (UHDR) of the order of Planck length can, however, be reached in a finite comoving time. The absence of the formation of trapped surfaces makes this UHDR globally visible.