Keyless fob stuck in key port

Regarding an intelligent key… My husband’s fob battery died yesterday while he was out. So to get home, he inserted the key fob into the port (for the first time). The car worked fine like this and he drove home, however, once he shut off the car, he was unable to pull the fob out of the port. The infinity dealer is telling us this might be a $600 fix… we just want the FOB out of the port. Any advice on this? Thanks!