No. Follow the tray's and appliance's release instructions. Striking it can crack the tray, damage a shelf or send fragments into food storage.
What the observation tells you
A tray frozen to a surface may indicate spilled water beneath it. Pulling or levering against the liner can cause more damage than the stuck tray itself. The permitted method varies with the tray material and freezer design.
A useful next step
Use suitable owner guidance and avoid sharp tools or direct heating of the cabinet. Afterwards, place the tray in its intended position without overfilling it or leaving water underneath.
Manuals and supporting guidance
Model-specific instructions take priority. These references support the practical principles discussed here; they do not diagnose your appliance.