did you have anything plugged into the cigarette lighter ? used to happen with my astravan when I had one of the massive floodlight torches plugged in, used to back feed from the battery, could remove the keys and lock the van but the engine kept running indefinitely.
failing that, the freelander might have a diesel stop solenoid.