There is a spell called "Light Drifter" from the "Roots 2" mod which is supposed to put you into spectator mode for 5 seconds or so and then teleport you back to the location in which you used the spell. However, for some reason it never took me out of spectator mod nor put me back to my original location. I am now stuck in spectator mode unable to do anything and would like to please be put back into survival and teleported back to spawn just to avoid any other possible issues.