Servo move to a location, then stop

OK THX.

What should happen if the button is released and pressed again during the time when the servo is moving as it was commanded from A to B?

Don't say that won't happen! Yes it will, and the program will do (or not do) something… now is your opportunity to make this be what you want instead of what you get.

a7