Consider the Oathbow:
Requires Attunement
[…]
When you use this weapon to make a ranged attack, you can, as a command phrase, say, "Swift death to you who have wronged me." The target of your attack becomes your sworn enemy until it dies or until dawn seven days later.
[…]
While your sworn enemy lives, you have disadvantage on attack rolls with all other weapons.
Say a PC attuned to an Oathbow were to use this feature to target a creature. The creature then kills the PC, but a friendly cleric uses Revivify on the PC. The PC is then unattuned to the Oathbow.
Best Answer
Losing attunement will prevent having disadvantage.
The following passage is from the attunement rules in the Dungeon Master's Guide (p. 138):
The tense of the first sentence could be ambiguous ("becoming attuned" sounds like a one-time requirement), but the example clarifies the meaning: while you are not attuned to a magic item that requires attunement, you can't benefit from its magical properties, even if you were attuned to it in the past, since it's the current attunement state that matters.
So even if you were attuned to the oathbow once before, you cease to benefit from any of its magical properties when you are no longer attuned to it, treating it as a mundane bow from then on. Since you no longer benefit from having a sworn enemy and the bow is treated as mundane, there's no reason you would have disadvantage on attack rolls with different weapons.
In addition, once you lose attunement, you lose (not suspend or defer) your sworn enemy, so regaining attunement later does not reinstate that sworn enemy. Rather, when you regain attunement, you start with a clean slate without any lingering benefits from a prior attunement.