Imagine that in the beginning was only a small ball with hyper mass and for some reason this mass expanded extremely fast, but so fast that it cause the three-dimensional space to echo infinitely creating the dimensional effect we call "time". Time is the dimension that contains all infinity spaces.
Gravity is the "inertia" of the timeline that we are situated. Basically it tries to pull back the matter to the earliest state as possible in a state-less way.
From a Macro Cosmo perspective there was only one incident and everything currently tries to converge back to the previous state, which is all the mass in a single point of space and time.
Gravity like most of the other effects we see in regular physics, does not keep state of each previous state, except for the most relevant one.
For instance no matter how many rocks diverged the flow of the water in a river, from a higher perspective, the river will always follow its course like no rock, had changed the movement and the water form at previous points of the river course.
Gravity keeps the original shape, course and intensity as most as possible. Mitigating the essence of this energy. Which is one of the most basic ones in the universe.
The energy can be defined and resolved as a recursive movement of energy always trying to go back together to the original state, usually perceived by the nearest and easiest bigger mass around.
Meaning that to stop gravity you will need to stop time as we know it.