Theoretically speaking, this is not theft. You are correct in that theft requires specific intent: to permanently deprive someone from the use and enjoyment of one of their lawful possessions.

In real life, it is a matter of evidence of course. Saying you were only borrowing can be proven otherwise based on your actions.