To remove the plug and spring, push the pin in the mag tube end cap out of the cap, remove the 2 screws holding the endcap in and it'll pop right out.
To reinstall the mag tube to the reciever, the interrupted threads have to be positioned so they'll go back in, look in the reciever and you'll...