Can’t jam a compass.
You could with a field coil or a magnet. ;)
Even if you’ve got a working GPS, if the terrain is such that you can’t move very fast, the GPS “go that way” function doesn’t work.
Keep a compass even if you’ve got a GPS.