The latter I suppose (*), although I don't think that one is even completely true. (Like if you heat something for 5 seconds, you fon't even feel the heat).

(*): Microwaves don't "stay" in food, they just go through and agitates the water molecules, and as soon as you stop emiting them, they're gone. Just like light, in a way.