Hey there Joe, sorry about all the confusion. I feel your pain as I am going through the same thing, using temporary wiring for 6-12 months, and then switching to a permanent solution later. Mine is also a 5 hp motor.
I finally decided that the cheapest/best/safest option for the temp connection was a 10 AWG A/C Whip wired to a knockout in the junction box for my 50 amp welding outlet. Total cost: $11. I just used the switch on the compressor to turn it on and off, rather than having a disconnect, but my sub-panel is only two feet away. That A/C whip will come pre-wired with THHN/THWN that will handle 35A, enough for a 5 hp motor.
If you want to use the 6-50 plug temporarily, go for it. It doesn't meet code, but it will probably work. I used mine for 2 months that way - with a 6-50P and the A/C whip. Of course that plug was designed for cord, but I just took out the cable clamp and it fit perfectly with the conduit fitting on the A/C whip. Your 10 AWG cord is a little undersized, according to the NEC, but again, it will probably work, especially if you unplug it when you're finished working. If you wanted to switch it to 8 AWG cord, you could do that, but the A/C whip would probably be cheaper for a temporary solution.
Good luck with it -- and just get it done so you can move on to better things!
