Rambai punished till court rises