When one no longer worship the deity, they must perform a sending off ritual for the deity to return to heaven. This is to thanks the deity for their blessing and protection during the stay. This is also a kind of respect to the deity.
Hence, believers will engage Taoist Priest to perform the ritual to send off the deity back to heaven. Once the ritual is over, the deity statue will be cremated.
As for ancestral tablet, it will depend on the believer’s decision whether to re-invite the ancestral back to their new home or to send them to some other places. ie; sibling’s home, temple etc.