You will lose the other set bonus, but every single tick of volley is calculated separately, so when you switch back, volley will benefit from your full 5-piece set.
The maelstrom bow's bonus to volley will activate on the first tick with the bow equipped and then stay active when you switch to the main hand. So it's a win/win.