You can opt in to a Travel Data Pass either before you fly or while you’re away. Once it’s triggered, you’ll only be charged on the days you use data abroad.
You don’t need to worry about removing the pass when you come home. It will just sit there waiting for your next trip.