The instructions David gave will get the Spring back on the Motor Shaft.
Now a little about your new to you Shopsmith Mark 5. Serial number 295981 was made in April 1955. That give us some important information about your Mark 5. If it hasn't been upgraded, it has the 3/4 HP Motor. More importantly it has the "A" Headstock. That means there was not an access hole behind the Logo Medalion on the back side of the Headstock for maintenance. With the Motor and pan off the Headstock Casting it would be a good time to clean out any debris and lubricate the parts. Being an older Mark 5 It may not have the lubrication holes David mentioned in the Motor and Idler Shaft Pulley Sheaves. With the Spring still off remove the Floating Sheave from the motor shaft. Clean the parts and lubricate the shaft with a lightweight oil. With the Spring off this will be your best opportunity to do so. If it has a lubrication hole it will be on the Sleeve part of the Sheave indicated below.
_

.
If it doesn't have the hole, you can add it by drilling a small hole over the Key slot. Do make sure to remove any burrs left from drilling the hole.
There would be a lubrication hole on the Idler Shaft Floating Sheave in a similar location. If not, one could be added to it also. Adding the lubrication holes will make future maintenance easier.
Hopefully you received the Owner's Guide with your Mark 5. If not, a PDF is available through the Forum. Let me know if you need it.
There is a lot of helpful information to be found here on the Shopsmith Forum. It can be your best reference on anything related to the Shopsmith Tools. Feel free to ask questions on anything, especially anything you are unsure of before attempting to do something. You have already experienced the most "explosive" thing that can happen.