The GPS module has a supercap onboard to provide backup power, which allows you to perform a warm-restart, resulting in super-quick lock when re-powering the boards. However, this supercap only provides power for a limited time, typically less than one day. So, if the module has been disconnected for long enough, it will perform a cold boot, taking ~30s to acquire a lock.