The Semlow was hijacked in June as it sailed from Kenya to Somalia with a load of rice donated by Japan and Germany .