Using Spin causes rotation
Yes, you are misunderstanding how Spin works. Spin takes your selection and does a spin extrusion about the 3D Cursor, from the current perspective of the 3D Viewport.

Here's a screen shot to illustrate:



If you want your spin extrusion to be in alignment with a specific axis, align your 3D Viewport accordingly and enter Orthographic View before executing the Spin.