A space gun(cannon) by itself is not capable of placing objects into stable orbit around the object (planet or otherwise) from which it launches them. The orbit is a parabolic orbit, a hyperbolic orbit, or part of an elliptic orbit which ends at the planet's surface at the point of launch or another point. This means that an uncorrected ballistic payload will always strike the planet within its first orbit unless the velocity was so high as to reach or exceed escape velocity. As a result, all payloads intended to reach a closed orbit need at least to perform some sort of course correction to create another orbit that does not intersect the planet's surface.