The only thing that might happen is it may pupate into a beetle if it digs down into the soil. Usually the frog will end up getting it, or it'll die off.