Complex sentence: She was converted for use a troopship in 1799, but was reverted to a fully armed warship once war resumed after the end of the Treaty of Amiens.
Split into simpler sentences: She was converted for use a troopship in 1799. The Navy reverted her to a fully armed warship once war resumed after the end of the Treaty of Amiens.