It is supposed that the companion should go away completely on having used this:
But there happens to me what it puts in the title.
PD: I use the last version of the Essential in my game.
Edited: This script seems that it did not work because I put it in the event of teleport. Now I have put it in another event and it fixed up.