If you tell her that you will stay with her for a while and you go for few minutes, this is not a lie and it is permissible.
If you tell her that you will stay with her for a while and you go for few minutes, this is not a lie and it is permissible.