If the tractor was completly submerged - I wouldn't bother with trying to get it unstuck - you need a complete rebuild. If by some chance you did get it unstuck, most likely all the electrical is also ruined. So getting the pistons freed up is just the start of the job.
Most likely you'll have to get the cylinders bored and oversized rings. the valves reset to the head, new ignition, generator, basically you'll have to rebuild the whole tractor.
All this not to mention the transmission, differential & clutch.
Sorry; but, if it's been under water and then set - the prognosis is not good.
Oscar