To prevent the batter from sticking to the pan while frying, ensure that you add enough oil to the pan. As the kabocha slices float to the top during frying, having sufficient oil ensures they do not touch the bottom of the pan.