Miss the Boat

What does the idiom “Miss the Boat” mean?

Definition:

Be too late for something; miss an opportunity

For example:

“There were great jobs avaiable in Indonesia, but the government has tightened work restrictions on foreigners. Guess I missed the boat.”