The benchmark palm oil contract for August delivery on the Bursa Malaysia Derivatives Exchange was up at 4,015 ringgit ($971.68) a tonne when the market closed.
The contract gained 0.6% this week after plunging 11.43% in the previous week, its biggest weekly drop in one year.
The benchmark palm oil contract for August delivery on the Bursa Malaysia Derivatives Exchange fell 2.7% to close at 3,917 ringgit ($946.59). It erased some of the 3.4% gain posted on Tuesday.
The Bursa Malaysia was closed on Wednesday for the Vesak Day holiday.
The benchmark palm oil contract for August delivery on the Bursa Malaysia Derivatives Exchange closed down 157 ringgit, or 3.52%, at 4,300 ringgit ($1,039.65) a tonne, its biggest one-day percentage fall in seven weeks.
The benchmark palm oil contract for August delivery on the Bursa Malaysia Derivatives Exchange settled 215 ringgit, or 5.07%, higher at 4,457 ringgit ($1,080.48) a tonne, after closing 1.05% lower on Monday.
The benchmark palm oil contract for August delivery on the Bursa Malaysia Derivatives Exchange ended down 45 ringgit, or 1.05%, at 4,240 ringgit ($1,026.88) a tonne.
Malaysian markets were closed last Thursday and Friday after a half-day trade on Wednesday for holidays.
The country imported 701,795 tonnes of palm oil last month, while soyoil imports fell by 21% to 144,020 tonnes, the Solvent Extractors' Association of India (SEA) said in a statement.
Sunflower oil imports dropped 18% to 184,097 tonnes in April after prices more than doubled in a year, it added.
Malaysia's end-April palm oil inventories rose 7.1% month-on-month to a five-month high of 1.55 million tonnes, as production grew for a second consecutive month.