In fact it measures absolute acceleration, not relative.
Whereas when the engine is off the ship free-falls, and in the free-falling case any gravitational forces will have the same effect on every part of the ship at the same time -instantaneously-. Now if the ship is large enough then the gravitational field(s) it traverses won't be uniform enough, and then the ship will feel stresses ("tidal forces") as a result.
It is too trivial to make the mistake you did, and then to conclude that gravity is not a force. But that's not really a correct view. A better view is that there are at least two equivalent understandings of gravity: one where it curves spacetime, and the other where it causes accelerations (therefore is a force) that cause photons and massive particles to follow the paths that the other interpretation would have them follow due to spacetime curvature.
I've heard this argument: Because gravity is the only force that acts on all objects, including the measuring object, this makes it not a force. This is not actually an explanation, it's more of a definition, and not a useful one.