If you keep your CV strong (with PI grants and top journals 1st authors), then you will have lots of opportunities in future.
[Once new big R01 (or 2 PI grants), can apply for other jobs or do nego with chair.]
Sometimes, teaching is just ever/never so be careful.
But you may need to do grants+pub (stress) for next 30y, esp., for non-ten.
In med/PH/Ivy-level, ten is not very important so ten is very rare.