Original: When that happens both the shrimp and goby fish quickly retract into the burrow.
Simplified: When that happens both the shrimp and goby fish quickly retreat into the burrow.