Considerations for transitioning from a teaching to a pure research position
Some issues that will need to be considered are:


getting up to date with the current developments in your field – this will involve intense and selective reading
finding new topics to work on 
justifying in grant applications the gap in publication record and demonstrating potential to produce results
attracting students to work with you – this may be easier if you've been teaching a lot, as you've put yourself in a position where students can see you.


Good luck.