If I apply gains to my current mortgage, does it negate any taxes due?
No. What you do with gains is not relevant. You will owe capital gains on the sale of the rental property.
Unless you do a section 1031 exchange by purchasing another rental property, then the gains will be deferred.