Some transmissions can handle being towed and many can not, they don't oil properly if just the output shaft turns. The shop or operators manuals often explain.
So it's just the safer bet to remove axle shafts or pull the driveshaft.
For real short distances it might not matter in most cases, for a little longer you can just let the towed vehicle idle in neutral to oil the transmission while towing. Anything more and just as well remove shafts, less risk and wear and tear on things.
Particularly an unknown vehicle. Tims COE had few quarts of water in the differential when I got to it, which I drained. With shafts removed all I cared about was wheel bearings which I washed and greased. Didn't harm the differential as it never turned and Tim could deal with that at his leisure.


1951 GMC 250 in the Project Journals
1948 Chevrolet 6400 - Detroit Diesel 4-53T - Roadranger 10 speed overdrive - 4 wheel disc brakes
1952 Chevrolet 3800 pickup
---All pictures---
"First, get a clear notion of what you desire to accomplish, and then in all probability you will succeed in doing it..." -Henry Maudslay-