Just a temp ?
You can do this a couple of ways
If your panel is in the house run some romex into the panel disconnect the wires going to the pump from the panel and I mean all the wires and wire nut them to the temp romex the temp romex should be of the same size
Then get a male cord cap and wire it up so you can plug it in
Explain temp "romex", please.