To keep something for a while is said to retain it.