While it is whining slowly push the throttle linkage back for the trans - not the engine throttle.
If the noise goes away it’s likely the regulator valve in the valve body, assuming the trans filter is ok and the fluid level is correctly set in neutral and not Park.