Working remotely does not stop collaboration. I have been working primarily remote for the past 12 years. I meet with my team every day for standup and am in constant contact with team members throughout the day, sometimes pair programming or helping to debug issues.
This is not much different than working in a colocated situation, except my coworkers don't have to smell my B.O.
The tooling available these days makes remote work better than in person IMO.