Add 2 tablespoons butter to a large nonstick skillet set over medium heat. Add shrimp and cook until they turn pink, about 8 minutes, taking care not to overcook. Transfer shrimp with a slotted spoon to a bowl to rest.