Ilie Bolojan lost the vote after the largest party in his coalition joined the far-right opposition to depose him.
Two cases of the virus, which rarely spreads between humans, have been confirmed on the ship, and three people have died.
Russia demanded a ceasefire on 8 and 9 May but Ukraine said it would pause the fighting sooner, meaning any violations would be pinned on Moscow.