```\nfunction emergencyPause(\n  GMXTypes.Store storage self\n) external {\n  self.refundee = payable(msg.sender);\n\n  GMXTypes.RemoveLiquidityParams memory _rlp;\n\n  // Remove all of the vault's LP tokens\n  _rlp.lpAmt = self.lpToken.balanceOf(address(this));\n  _rlp.executionFee = msg.value;\n\n  GMXManager.removeLiquidity(\n    self,\n    _rlp\n  );\n\n  self.status = GMXTypes.Status.Paused;\n\n  emit EmergencyPause();\n}\n```\n