If you are orbiting below the surface of a planet, and ignore drag from rocks (or orbit in a vacuum tunnel), what is the shape of the orbit? Usually, the proportionality law for gravity is $\frac{1}{r^2}$, but in this case, it scales with the radius $r$, increasing in strength when you move away from the centre. The potential energy is simple to calculate, as is the angular momentum, but the overall shape is not completely obvious to me. From simulating this using time increments, it seem to me that the shape is an ellipse, with the centre of the planet as the centre (not focus). However, that is just speculation on my part as such a method does not give any reliable results.
Simplifications made: Uniform density, planet not rotating, orbiting body's mass negligible to main, and orbiting object not influenced by other forces like drag. Of course I also appreciate answers covering those factors too, and also how an object orbiting both inside and outside the planet behaves. But that is just a bonus
Example of an orbit with gravity proportional to $r$: