The submarine had had time to submerge before the warship could approach.
潜水艇没等军舰靠近就及时潜入水下了。
《牛津词典》
3
Fleeing on a French warship crossing the Indian Ocean, Le Gentil saw a wonderful transit, but the ship's pitching and rolling ruled out any attempt at making accurate observations.