As an aside. What could be done is actually setting this to reverse until encoder detect a speed of 0. Because you have an encoder now.

HOWEVER, that will damage mechanical hardware. So use with caution.